This quick post is to remind me of the last step I need to do when setting up a new VPN:
echo 1 > /proc/sys/net/ipv4/ip_forward
Running that command as root enables forwarding of IPV4 packets. This will allow the VPN server to pass information back and forth between the VPN LAN segment, and your main network. If that gets your VPN connection going, then you’ll need to make the change permanent. To do that, edit this file:
vim /etc/sysctl.conf
Find the line that says “net.ipv4.ip_forward=1″ and uncomment it (remove the #)