MASQUERADING

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

 



Hi all,
I have a question on MASQUERADE

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 ?

Thanks,

Chandra 
*Disclaimer*
"This e-mail and any attachments are confidential and may contain trade
secrets or privileged or undisclosed information. They may also be
subject to copyright protection. Please do not copy, distribute or
forward this email to anyone unless authorised. If you are not a named
addressee, you must not use, disclose, retain or reproduce all or any
part of the information contained in this e-mail or any attachments. If
you have received this email by mistake please notify the sender
immediately by return email and destroy/delete all copies of the email."




[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