Wednesday, February 26, 2014

PPPTD for firewall routing

iptables -t nat -A POSTROUTING -j SNAT --to-source [VPS's IP]
iptables -A FORWARD -i ppp0 -o eth0 -j ACCEPT

No comments: