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

Michael Schwendt fedora at wir-sind-cool.org
Thu Sep 2 07:04:46 UTC 2004


On Mon, 30 Aug 2004 19:56:25 +0200, Hans Christian Studt wrote:

> 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]

The file format saved by iptables-save and loaded by iptables-restore
is different from raw iptables commands. The file is *not* a shell
script.  At first glance, the differences may seem subtle, but they
are important. A "-t nat" in there is a syntax error.





More information about the users mailing list