Re: automatically loading iptables

2007-10-06 Thread Márcio H. Parreiras
There is another way, using 'iptables-save' and 'iptables-restore' (see 'man' for details), but personally I prefer to put the script in '/etc/init.d/' and create the symlinks with 'update-rc.d'. It's easy and clean and less likely to happen you lock yourself outside after a network restart or a re

Re: automatically loading iptables

2007-10-06 Thread Guillermo Garron
On 10/6/07, Peter Smerdon <[EMAIL PROTECTED]> wrote: > Hello everyone. > > What is the preferred method of starting an iptables script at boot time > on Debian hosts? I have come across two common ways, one with a pre-up > command that calls the script from /etc/network/interfaces and the other > F

Re: automatically loading iptables

2007-10-06 Thread Shams Fantar
Peter Smerdon wrote: Hello everyone. What is the preferred method of starting an iptables script at boot time on Debian hosts? I have come across two common ways, one with a pre-up command that calls the script from /etc/network/interfaces and the other From dumping the script in one of the /etc

Re: automatically loading iptables

2007-10-06 Thread CaT
On Sat, Oct 06, 2007 at 08:21:30AM -0400, Peter Smerdon wrote: > Hello everyone. > > What is the preferred method of starting an iptables script at boot time > on Debian hosts? I have come across two common ways, one with a pre-up > command that calls the script from /etc/network/interfaces and th

Re: automatically loading iptables

2007-10-06 Thread Pál Csányi
Hello! 2007/10/6, Peter Smerdon <[EMAIL PROTECTED]>: > What is the preferred method of starting an iptables script at boot time > on Debian hosts? I have come across two common ways, one with a pre-up > command that calls the script from /etc/network/interfaces and the other > From dumping the sc

automatically loading iptables

2007-10-06 Thread Peter Smerdon
Hello everyone. What is the preferred method of starting an iptables script at boot time on Debian hosts? I have come across two common ways, one with a pre-up command that calls the script from /etc/network/interfaces and the other From dumping the script in one of the /etc/rc*/ directories. I a