iptables question.

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

 



I'm trying to install a gateway/router with Red Hat 9 kernel 2.4.24 and the stock
iptables 1.2.7, with full NAT compiled into the kernel. I have read the howto
at netfilter.org, even have the same line of code.  But it sill will not change
the source address.

here is the line of code and the result of the command <iptables -t nat -L -n>


iptables -t nat -A POSTROUTING  -o eth0 -j SNAT --to Ext_ip
target prot opt source     destination 
SNAT   all  --  0.0.0.0/0  0.0.0.0/0   to:Ext_ip

thanks
John 













http://www.arbbs.net/


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux