28 Oct
2002
28 Oct
'02
19:18
GentooRulez wrote: [replace src ip question]
Think i need a statement for the PREROUTING chains. But howto exactly ?
no, it's postrouting: iptables -t nat -I POSTROUTING -s 10.10.1.1 -p tcp --dport 5432 -j SNAT --to-source 192.168.1.1 (maybe you'll add more matches to match just your VPN connection. regards