How do I set up a new group in Groups Library...

Murus
Post Reply
p15d24
Posts: 4
Joined: Mon Nov 30, 2015 5:37 am

How do I set up a new group in Groups Library...

Post by p15d24 » Sun Dec 20, 2015 2:43 am

When I travel I use a hotspot from my iPhone via ATT. It appears the ATT internal network is 172.20.10.NNN. How do I set up a new Group for the service on my home server so I can access remotely via the ATT hotspot? I would assume the range of the NNN digits could change depending location when I travel.

hany
Posts: 481
Joined: Wed Dec 10, 2014 5:20 pm

Re: How do I set up a new group in Groups Library...

Post by hany » Tue Dec 22, 2015 10:35 am

There are 4 buttons on top of Murus Groups Library. Click the "small gear" button to add a new group. Then select it and click the magnifier button to open the group editing view and set group parameters.
I never user ATT hotspot, i'm sorry. Can you please be more descriptive about your setup? How you are supposed to connect to a "home server" using a mobile hotspot? These are usually used to share a connection between more mobile devices. Is this what you are trying to do?

p15d24
Posts: 4
Joined: Mon Nov 30, 2015 5:37 am

Re: How do I set up a new group in Groups Library...

Post by p15d24 » Thu Dec 24, 2015 4:59 am

More details: Home server is a MacPro, running Murus. On the MacPro I run a VPN server, and VNC services which are accessed via SSH tunnel. MacPro is connected to the internet through a cable modern with an Airport Extreme (AE) as a router. Ports for VNC, SSH and VPN on the Airport Extreme are mapped to the a static IP on the MacPro. When I travel I use a Macbook Pro to access the MacPro. The ATT hotspot on the iPhone acts a private wifi hotspot. It looks like it runs as a private network based on the IP address (172.20.10.N) I see when I connect the MacBook Pro. What I want to do is set up Murus will only accept external connections from the 172.20.10.- network. I'm assuming the connection could be any thing from .0 to .254 based on the address assigned when I make the ATT wifi hot spot connection. I understand how to create the new group but what is the syntax for defining the range of IP addresses that might be used when connecting?

hany
Posts: 481
Joined: Wed Dec 10, 2014 5:20 pm

Re: How do I set up a new group in Groups Library...

Post by hany » Thu Dec 24, 2015 4:22 pm

what is the syntax for defining the range of IP addresses that might be used when connecting?
IP addresses ranges must be expressed using the CIDR notation.
For example, assuming network address is 192.168.1.0 and broadcast address is 255.255.255.0, to express the range from 192.168.1.1 to 192.168.1.254 you must write

Code: Select all

192.168.1.0/24
This is the CIDR notation for a network definition. That's the way PF (for which Murus is a front-end) accepts ip ranges.

I'm assuming the connection could be any thing from .0 to .254 based on the address assigned when I make the ATT wifi hot spot connection.
Assuming that assigned addresses will be in the range 172.20.10.1-172.20.10.254 then you can simply add one record to your group:

Code: Select all

172.20.10.0/24
If it happens that you get an address outside of this range, let's say 172.20.11.1, you can add a second record to your group:

Code: Select all

172.20.11.0/24
Then, if you want to extend the range to the whole 172.20.*.* range (from 172.20.1.1 to 172.20.254.254) you can simply keep this record alone:

Code: Select all

172.20.0.0/16
It can also be expressed as:

Code: Select all

172.20/16
I hope it helped :)

Post Reply