sudo cd /etc/
sudo vim sysctl.confEditing Network configuration
sudo cd /etc
sudo vim pptpd.confEditing following configuration
net.ipv4.ip_forward=1Restart service
sudo sysctl -pIt will echo
net.ipv4.ip_forward=1Editing Iptables
sudo vim IptablesAdd following configuration
sudo iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -o eth0 -j MASQUERADEIptables configuration will reset after reboot, so editing rc.local
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -o eth0 -j MASQUERADEadd this before exit 0