iptables question

Gregory Nowak greg at romuald.net.eu.org
Sun Sep 21 16:46:30 EDT 2003


Ok, I've looked at Rusty's nat howto as John suggested.

Assuming the previously given example (have outbound tcp connections on
port 1 be made on tcp port 2 instead), I've got the following command
line based on the howto.

iptables -t nat -A POSTROUTING -p tcp --sport 1 -o eth0 -j SNAT
--to :2

I get no errors from iptables, but there is still no difference, it's
as if I didn't put that rule in.
Could someone please explain why that is, and straighten me out if
I've got things wrong?
Thanks.

Greg



-- 
Free domains: http://www.eu.org/ or mail dns-manager at EU.org





More information about the Speakup mailing list