[Shorewall-users] SNAT

Rodolfo Pilas
Thu, 03 Jul 2003 14:27:53 -0000

I am migrating one of my old fw from ipchains to iptables/shorewall. Now
I wish to configure a SNAT like this:

ipchains -A forward -p tcp -s 172.16.4.2 -d 0/0 53 -j MASQ

I have seen that the masq file enables me to do SNAT, but I wish to
restrict it to the 53 port only.

Can you tell me how to do it?  Thank.


--
Rodolfo Pilas <rodolfo@pilas.net>