Displaying 1 result from an estimated 1 matches for "ip_if_eth0".
2004 Oct 10
0
weird problem with ip+snat+tun0
...0
an the main have the directed connected nets and a def throw eth0
the iptables looks:
filter - empty
mangle - mark trafic for the tc part
nat - only
Chain POSTROUTING
481 52825 SNAT all -- * tun0 192.168.40.0/24 0.0.0.0/0 to:10.0.1.2
0 0 SNAT all -- * eth0 192.168.40.100 0.0.0.0/0 to:IP_IF_ETH0
........................
a tcpdump on tun0 gets
tcpdump -i tun0 -n | grep -v 10.0.1.2
IP_IF_ETH0.8181 > 24.129.71.219.42694: ack 2449728106 win 33870 (DF)
IP_IF_ETH0.8181 > 24.129.71.219.42694: ack 1 win 33870 (DF)
IP_IF_ETH0.8181 > 81.208.36.95.9195: . ack 272319646 win 65225 (DF)
so...