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

From: Hans Christian Studt (hcstudt_at_post10.tele.dk)
Date: 08/30/04

  • Next message: Alexander Dalloz: "Re: iptables-restore v1.2.9: Line 13 seems to have a -t table option."
    To: fedora-list@redhat.com
    Date: Mon, 30 Aug 2004 19:56:25 +0200
    
    

    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@studt.dk http://hc.studt.dk
    Powered by Linux 2.6.6-1.435.2.1

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Alexander Dalloz: "Re: iptables-restore v1.2.9: Line 13 seems to have a -t table option."

    Relevant Pages

    • PROBLEM: iptables dont work with 2.4.25
      ... iptables v1.2.6a: can't initialize iptables table `filter': iptables who? ... Perhaps iptables or your kernel needs to be upgraded. ... f000-f0ff: Intel ICH2 ... Controller Hub ...
      (Linux-Kernel)
    • Re: Help with Linux Basics
      ... Then each time the system is booted, iptables loads from ... To run the pure basics of iptables you need to configure the following ... options into the kernel while doing make config or one of its related ... And of course you need to add the proper drivers for your interfaces to work ...
      (alt.os.linux.redhat)
    • Re: Installing IPTables: not very clear howto
      ... >>librairies have to be built according to which kernel modules you'll have. ... >>You should remove any prior iptables version that could be prior in your ... interface you want to config) then make (no need for seperate make dep ... are probably better off simply installing it via the package management ...
      (comp.security.firewalls)
    • Re: Linux firewall on P166
      ... Which is it, ipchains or iptables? ... gives you a much stronger firewall. ... It's difficult to do much with 4MB RAM, ... > of a specially-tailored kernel. ...
      (comp.os.linux.networking)
    • Re: Linux firewall on P166
      ... Which is it, ipchains or iptables? ... gives you a much stronger firewall. ... It's difficult to do much with 4MB RAM, ... > of a specially-tailored kernel. ...
      (comp.security.firewalls)