Chandra.Vempali@xxxxxxxxxxxx schrieb: > Suppose I masquerade ppp0 using > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > > And now all packets will have a src ip addr as 192.168.0.2 will be > changed to that of ppp0 , for example say 10.10.10.1 > Now my question is, when the reply comes, their destination addr will be > that of ppp0 i.e 10.10.10.1 > Who will reverse translate this 10.10.10.1 destination addr to actual > 192.168.0.2 ? This is the job of connection tracking, basically ipt_conntrack. Have a nice time, Joerg