iptables can't find MASQUERADE module!

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

 



I'm trying to run a simple iptables nat script on the kernel from rawhide:

/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





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux