iptables-restore v1.2.9: Line 13 seems to have a -t table option.

Hans Christian Studt hcstudt at post10.tele.dk
Mon Aug 30 17:56:25 UTC 2004


Hi,

I get this error message when trying to restart iptables.

========================================
iptables failed. The error was: Udskriver brandmurs-regler: [  O.k.  ]

Sætter kæder til retningslinje ACCEPT: filter [  O.k.  ]

Fjerner iptables-moduler: [  O.k.  ]

Indfører iptables brandmurs-regler: iptables-restore v1.2.9: Line 13 seems to have a -t table option.

Error occurred at line: 13
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[MISLYKKEDES]

========================================

This is what netfilter has about such errors:
---------------------------------------------
http://www.netfilter.org/documentation/FAQ/netfilter-faq-3.html#ss3.20

3.20 'iptables: Invalid argument' after kernel update (nat table)

You have just upgraded your kernel and suddenly some of the commands (especially in the 'nat' table), and you experience something like:

# iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
iptables: Invalid argument

This happens when the structure size between kernel and userspace changes. You will need to recompile the iptables userspace program using the include files of your new kernel. This only happens if you (or the vendor of your kernel) has applied some patches either only to the old or only to the new kernel. It is not supposed to happen between vanilla kernel.org kernels. If it does, please inform the netfilter-devel mailinglist.
---------------------------------------------

But i am using plain vanilla fedora core 2 kernel and iptables an is trying to setup MASQUERADE

-t nat -A POSTROUTING -o ppp0 -j MASQUERADE

Mvh Hans Christian Studt
Private +45 48 79 79 89
Mobile +45 29 23 54 14
Business +45 36 14 54 14
mailto:hc at studt.dk http://hc.studt.dk
Powered by Linux 2.6.6-1.435.2.1





More information about the users mailing list