Reply
By default POSTROUTING is ACCEPT....
If i am correct, masquerade changes the source ip address datagram to that of the real IP address of the router
for example source ip address changes from 129.160.10.121 to the router's real ip address.
-A POSTROUTING -o eth0 -s 192.168.10.0/255.255.255.0 --dport 80 -j MASQUERADE
If i do make the change above, doesn't it instruct Linux to
change the source ip address only to http packets and not to all others...?
In other words, assuming that i have a network sniffer immediately after the router. If i check all the packets coming from the router, will i see the Intranet's internal - virtual ip addresses to all packets OTHER THAN the http ones, and the router's real ip address ONLY to http packets....?
THX.....
|