search for: ip2_in_lan2

Displaying 1 result from an estimated 1 matches for "ip2_in_lan2".

Did you mean: ip1_in_lan2
2005 Nov 23
0
Source based routing, some TCP packets not SNAT-ed
...p route flush cache So the default routing table has default route set to GW1 and the table LAN2 has default gw set to GW2. I am marking packets in iptables. iptables -t mangle -A PREROUTING -s $IP1_IN_LAN2 -d ! 10.0.0.0/255.0.0.0 -j MARK --set-mark 0x1 iptables -t mangle -A PREROUTING -s $IP2_IN_LAN2 -d ! 10.0.0.0/255.0.0.0 -j MARK --set-mark 0x1 The last thing in my firewall is: iptables -t nat -A POSTROUTING -o eth4 -j SNAT --to-source $Public_IP The configuration is quite simple, but now straight to the problem: When I run tethereal I see packets with the correct IP address, but so...