iptables question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux