VPN setup on Linksys WRT3200ACM router

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
buenosdias
OpenVpn Newbie
Posts: 3
Joined: Sun Nov 14, 2021 11:23 pm

VPN setup on Linksys WRT3200ACM router

Post by buenosdias » Mon Nov 15, 2021 12:01 am

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.

buenosdias
OpenVpn Newbie
Posts: 3
Joined: Sun Nov 14, 2021 11:23 pm

Re: VPN setup on Linksys WRT3200ACM router

Post by buenosdias » Mon Nov 15, 2021 12:14 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: VPN setup on Linksys WRT3200ACM router

Post by TinCanTech » Mon Nov 15, 2021 12:26 am

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.

buenosdias
OpenVpn Newbie
Posts: 3
Joined: Sun Nov 14, 2021 11:23 pm

Re: VPN setup on Linksys WRT3200ACM router

Post by buenosdias » Mon Nov 15, 2021 2:31 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: VPN setup on Linksys WRT3200ACM router

Post by TinCanTech » Mon Nov 15, 2021 2:23 pm

Your router probably does not allow hairpin routing.

Post Reply