Friday, November 21, 2014

When VPN connects but internet does not work

Do the following on the server:

sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

sudo su
echo "1" > /proc/sys/net/ipv4/ip_forward

No comments:

Post a Comment