Hi All, Is it possible for me to configure SNAT ( change the source IP ) and also configure DNAT ( such that it can change the Destination address ) on the out going packet. My unix box is configured as a router and i want to modify the traffic coming from LAN and going to internet . if a client is pinging 8.8.8.8 from source ip 10.10.10.1 , after leaving the unix router configured with Shorewall , i want the source to be using interface ip and also change the destination ip. I was able to change the source ip to that of the interface ip , however i am not able to change the destination ip 8.8.8.8 to 4.4.4.4.
The configuration below helping me with the SNAT , how do i get the DNAT also on the same direction. file : /etc/shorewall/masq eth3 10.10.10.1/24 Any guidance on the above or pointers will be appreciated . Thanks, Naveen ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users