iptables doesn't keep chain list after reboot
Hi,
iptables doesn't keep chan list after rebooting. I need to recreate all of them.
Is there something to do?
Thanks.
This is to keep you from making a mistake and not being able to get back into your server. One reboot, and everything is back to the way it was before the change. Of course, you can take other measures to regain access without having to take your server down, but this is a last-ditch method in case you didn't take any other precautions.
Once you have a rule set that you are confident with, you have to make it a part of your server's startup sequence, much like a personal firewall automatically makes itself a part of your Windows startup.
You will find all this and more here: http://www.iptablesrocks.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Blondé
Quoted 17 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of TheNokia
Sent: Thursday, May 17, 2007 7:41 AM
To: [email protected]
Subject: iptables doesn't keep chain list after rebootHi,
iptables doesn't keep chan list after rebooting. I need to recreate all of them.
Is there something to do?
Thanks.
Quoted 2 lines
Is there something to do?
Hi.
You can use iptables-save to save your iptables configuration , and use iptables-restore to restore it.
You can add this command to your /etc/rc.local to see them restored at every boot.
++
Ben