openvpn_no_internet
This is an old revision of the document!
No Internet on OpenVPN
When you first configured open VPN on Debian no blog or site tells you to do routing on you network to have connection to internet while working with VPN. To have internet and access to your network do:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
where 10.8.0.0/24 is your VPN network and eth0 your networkcard. This you have to change if your settings defere.
openvpn_no_internet.1597408549.txt.gz · Last modified: 2020/08/14 14:35 by chris