Re: Preferred way of preserving firewall rules on system reboots?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeu 13/05/2004 à 16:48, Aleksandar Milivojevic a écrit :
> What is your preferred way of preserving firewall configuration on 
> firewall reboots?  I know this is probably distribution specific.

Every time I need to save the ruleset :

	iptables-save > /etc/firewall

Then, in a startup script (/etc/init.d/networking on my Debian), I add :

	iptables-restore < /etc/firewall


-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux