IPTABLES and GRE PPTP working
Hi All, Sorry for all the messages
OK, I have got IPTABLES able to pass GRE and PPTP through the firewall and then back to a specified host.
However, I setup up a second host on my LAN to use a second external interface to go out on but the connection fails.
I know why but I dont know how to fix it. I tell iptables to
POSTROUTING -s 192.168.1.30 -o eth0 -p tcp --sport 1723 -j SNAT --to-source x.x.217.22
POSTROUTING -s 192.168.1.30 -o eth0 --proto gre -j SNAT --to-source x.x.217.22
I can then tell via a tcpdump that packets are not coming back in for this host, but for 192.168.1.60 which operates on x.x.217.21
Can any one help with this
Thanks so much, I shall be buying you all beers (or fruit juice)
Last edited by raz; 12-17-2001 at 04:21 AM.
|