Page 1 of 1

VPN setup on Linksys WRT3200ACM router

Posted: Mon Nov 15, 2021 12:01 am
by buenosdias
I have setup OpenVPN on my Linksys WRT3200ACM router with Dyn.com for DDNS, however I believe the generated .ovpn file is incorrect. I cannot connect to the server from outside of the network, yet I can connect to the server inside the network.

The .ovpn file begins with the following:
client
dev tun
proto tcp
remote 192.168.0.2 1194
tun-mtu 6000
# fragment 0 can be used to improve performance in some instances but
# breaks compatibility with some Android apps
# fragment 0
mssfix 0
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
auth-user-pass
verb 3
For the section "remote 192.168.0.2 1194", should I change the IP address to my DDNS hostname? Or at least to the public IP address of the router as a temporary measure?

Or is it instead that my connection is perhaps being blocked by a firewall on the router or maybe my ISP?

Any advice would be greatly appreciated.

Re: VPN setup on Linksys WRT3200ACM router

Posted: Mon Nov 15, 2021 12:14 am
by buenosdias
I've changed my server address in the Linksys router config interface to use my DDNS hostname (something.dyndns.org), however I still cannot connect.

I suppose the remaining issue might be a firewall on the router or my ISP somehow blocking the connection?

Re: VPN setup on Linksys WRT3200ACM router

Posted: Mon Nov 15, 2021 12:26 am
by TinCanTech
buenosdias wrote:
Mon Nov 15, 2021 12:01 am
I believe the generated .ovpn file is incorrect. I cannot connect to the server from outside of the network, yet I can connect to the server inside the network.
If the same profile can connect from within your network then you have simply failed to set your DNS name correctly.

Re: VPN setup on Linksys WRT3200ACM router

Posted: Mon Nov 15, 2021 2:31 am
by buenosdias
TinCanTech wrote:
Mon Nov 15, 2021 12:26 am
If the same profile can connect from within your network then you have simply failed to set your DNS name correctly.
If the profile includes the IP 192.168.0.2 then I can connect to the server from inside the local network but not outside the local network.

If the profile uses my DDNS provider (dyn.org) with my domain (something like, whatever.dyndns.org) I cannot connect. The hostname does appear to resolve to the correct public IP address.

My Linksys router is behind an Arris modem+router from my ISP (Cox Cable). I have tried disabling the firewall on that device to no success. I've also tried changing port forwarding settings on the modem+router from my ISP.

At this point I suppose my ISP could be blocking ports somehow. Or maybe filtering internet traffic?

Re: VPN setup on Linksys WRT3200ACM router

Posted: Mon Nov 15, 2021 2:23 pm
by TinCanTech
Your router probably does not allow hairpin routing.