Aug 3, 2017

How to Allow IP Forwarding on Linux

Allow IP Forwarding

First, we need to allow the server to forward traffic. This is fairly essential to the functionality we want our VPN server to provide.

We can adjust this setting by modifying the /etc/sysctl.conf file:

sudo vim /etc/sysctl.conf


To read the file and adjust the values for the current session, type:

sudo sysctl -p