/sbin/iptables -t nat -F /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
but I get this error:
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables: No chain/target/match by that name
or , with the -v option:
/sbin/iptables -t nat -A POSTROUTING -o eth0 -v -j MASQUERADE MASQUERADE all opt -- in * out eth0 0.0.0.0/0 -> 0.0.0.0/0 iptables: No chain/target/match by that name
-j SNAT works. no errors.
I've insmod'd iptables_nat. lsmod shows:
Module Size Used by Not tainted
iptable_mangle 2712 0 (autoclean) (unused)
ipt_state 1048 2 (autoclean)
iptable_filter 2348 1 (autoclean)
iptable_nat 20632 0 (unused)
ip_conntrack 26120 2 [ipt_state iptable_nat]
ip_tables 14520 6 [iptable_mangle ipt_state iptable_filter iptable_nat]
uname -a Linux toshiba415 2.4.20-20.1.2013.nptl
Any help appreciated.
sean
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail