Code: Select all
#Added when configuring PPTP VPN:
sudo iptables -t nat -A POSTROUTING -s 192.168.0.201/24 -o eth0 -j SNAT --to 192.168.1.50
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmturemote ip ranges from 192.168.0.201 to 205
I need help with NAT to access internet across VPN.