Penetration Testing mailing list archives

Re: Connecting to different services with source port 53


From: Christian Perst <chris_perst () gmx de>
Date: Thu, 7 Jul 2005 21:09:39 +0200

Hi list,

thanks to all the replies and hints. 
For me the iptables worked fine. I did a --to-ports with the
table nat like:

iptables -t nat -A POSTROUTING -o eth1 -p tcp -j MASQUERADE --to-ports 53
iptables -t nat -A POSTROUTING -o eth1 -p ! tcp -j MASQUERADE

Chris


Current thread: