How to route traffic through the VPN
CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA
After connecting to the remote Linux PPTP VPN, I cannot browse the Internet. The following commands are entered into the PPTP Linux box to allow that to happen.
Assume that the LAN subnet is 172.16.16.0/24. Enter the following commands to troubleshoot and to modify the routing table.
iptables -t nat
iptables -t NAT -A postrouting -s 172.16.16.0/24 -o p33p1 -j MASQUERADE
Now you will be able to browse through the VPN connection.