Re: MASQUERADING

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux