ATT 3G Microcell and VPN

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
yite00
DD-WRT Novice


Joined: 06 Jan 2017
Posts: 17

PostPosted: Fri Jan 06, 2017 23:21    Post subject: ATT 3G Microcell and VPN Reply with quote
I'm using and openvpn client and I have an AT&T 3G microcell mini tower. The microcell provides cellular service through my internet connection.

I just recently subscribed to a VPN service and since then my microcell can't connect to the internet. I've done a lot of searching and I found that the microcell uses ports 123, 500, 443, and 1500. I also called AT&T and they said that I need to make sure all the ports are open.

I went to yougetsignal.com and confirmed that ports 123 and 1500 are blocked.

I found a few options to potentially try:
1. Administration>Command Firewall exceptions
2. Policy based routing to allow my microcell IP address through
3. Policy based routing to list all of my IP addresses that I want to be on the VPN.

The instructions I've read and found may be providing the answer I need but I don't understand or know all of the terminology. I already tried once and my router froze up so I'm hesitant to just try wing this.

What do you think would be the easiest option for me?

Any help is greatly appreciated
Sponsor
yite00
DD-WRT Novice


Joined: 06 Jan 2017
Posts: 17

PostPosted: Thu Jan 12, 2017 11:44    Post subject: Reply with quote
Thank you for the response.

So the easiest is to list all the ip addresses in the policy based routing and exclude the microcell and the router. If I have a switch do I exclude that ip address as well?

When listing the ip address: 192.168.1.10/xx, the xx is not a range correct? For example 192.168.1.10/20 doesn't mean ip addresses 192.168.1.10 through 192.168.1.20.

Do I have list the xx at all? I think I understand it is associated with the gateway. Correct me if I'm wrong. For my case it will always be 24 but what is difference if I include it or not?

Either way I would have to include every ip address individually.

192.168.1.10/24 or 192.168.1.10
192.168.1.11/24 or 192.168.1.11
192.168.1.12/24 or 192.168.1.12
etc

Thank you
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Thu Jan 12, 2017 13:20    Post subject: Reply with quote
You can use subnet values in the policy routing section, but make sure you don't use either:

192.168.1.1 (Explicit router IP reference)
192.168.1.0/24 (Entire LAN range, which would include the router IP)

As mentioned, if the router IP is sent through the VPN, it will break everything.

You can calculate subnets/ranges for your LAN to go through the VPN via something like this:

http://www.subnet-calculator.com/subnet.php?net_class=C

Alternatively you can create your own range, perhaps using static DHCP to place all clients within a specific range you'd like or sending all clients within the configured DHCP range, or just list as separate values i.e.

Code:

192.168.1.10
192.168.1.11
192.168.1.12
etc..


192.168.1.10/20, does not mean include IP addresses ranging from 192.168.1.10 - .20, doesn't work that way!

_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world
yite00
DD-WRT Novice


Joined: 06 Jan 2017
Posts: 17

PostPosted: Sat Jan 14, 2017 14:02    Post subject: Reply with quote
Thank you for the information.

I think I understand. If I put in policy routing selection the following

192.168.10.130/2

Then addresses 192.168.10.129 - 192.168.254 will go through the VPN as calculated by the subnet calculator, correct?

With that my routers address 192.168.1.1 is outside that range so I'm safe.

Then I have to make sure that my Microcell's address is outside that range and it will bypass the VPN also correct?

I wanted to make sure I understand the subnet so I don't don't break my router.
yite00
DD-WRT Novice


Joined: 06 Jan 2017
Posts: 17

PostPosted: Sat Jan 14, 2017 14:37    Post subject: General Use of CIDR Reply with quote
Yes you're correct. I was using the wrong calculator but now I understand.

On a side note my DHCP settings should encompass that range correct?

Start IP = 192.168.10.129
Maximum DHCP Users = 125

125 = 254 - 129

If I reduced 125 to 124 I could then assign a static IP to 192.168.10.254 which would still be within the VPN correct?

And the overall benefit to using the CIDR is to reduce 125 lines of input down to 12 lines (for this case).
yite00
DD-WRT Novice


Joined: 06 Jan 2017
Posts: 17

PostPosted: Sat Jan 14, 2017 15:26    Post subject: Reply with quote
Okay I just applied the changes. Everything is working great. My microcell is outside my VPN and is now functioning properly and my router is not broken.

I realize this went from a best option to a CIDR discussion. I hope that's not a problem.

Thank you very much for your help.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum