-   Debian (
-   -   iptables save rules (

Osten 02-10-2004 05:21 AM

iptables save rules
I'm having trouble with my iptables.

When i try to save the current information i use:

/etc/init.d/iptables save active
But when i reboot my machine and list with "iptables -L" there are no rules saved :/

Any ideas how to solve this?

ac1980 02-10-2004 04:53 PM

use /sbin/iptables-save, with hyphen. You should pipe the output to a file and then use iptables-restore upon boot.
See iptables-save manpage. Or consider using an encapsulation for iptables, such as shorewall: it's much easier to manage.

All times are GMT -5. The time now is 12:49 PM.