• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

openvpn working but no internet connectivity when connected

loady

Senior Member
i finally got a setup working that suits my needs, a little background, i am on talktalk uk and have thier wifi hub, the wireless range on it is rubbish, i had a spare N66U router, i have this setup with dd-wrt and one radio is running in client mode and is repeating the isp router, on the repeater i have openVPN server running and i connect remotley to it with success, i am very happy with the wifi speeds i now get upstairs with this setup and happy that ovpn works, however, when i connect to the ovpn server the device that i am connecting to it on loses its internet connectivity, i cant do anything whilst its connected other than browse my LAN, i have read that it has something to do with NAT or a firewall rule, i have tried some firewall rules but i dont understand what i am doing, i just want to be able to use the internet when connected to the ovpn server..

i tried these firewalls...

WAN_IF="$(route -n | awk '/^0.0.0.0/{wif=$NF} END {print wif}')"
iptables -t nat -I POSTROUTING -o $WAN_IF -j MASQUERADE)

And...

iptables -t nat -A POSTROUTING -o $(get_wanface) -j MASQUERADE

I dont know whats wrong or how to fix it
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top