Re: debian way to start firewall

2007-05-03 Thread Octavio Alvarez
On Thu, 03 May 2007 17:30:47 -0700, Tom Furie <[EMAIL PROTECTED]> wrote: On Wed, May 02, 2007 at 08:04:53AM -0700, Octavio Alvarez wrote: You might as well put some iptables-restore at the endo of the "up" of each interface in /etc/network/interfaces. This lets you control your firewall per

Re: debian way to start firewall

2007-05-03 Thread Tom Furie
On Wed, May 02, 2007 at 08:04:53AM -0700, Octavio Alvarez wrote: > You might as well put some iptables-restore at the endo of the "up" > of each interface in /etc/network/interfaces. This lets you control > your firewall per interface and have only the needed rules alive. Wouldn't you be better

Re: debian way to start firewall

2007-05-02 Thread Octavio Alvarez
On Wed, 02 May 2007 04:06:13 -0700, Vladi Lemurov <[EMAIL PROTECTED]> wrote: Distro etch, stable, i386. I have a firewall script (based on iptables) and it works perfectly on debian and other distros but where am I to put it? I found nothing in debian-reference (at least grepping "

Re: debian way to start firewall

2007-05-02 Thread Vladi Lemurov
Well the same way, scripts and links. :) Anyway I did it the way you offered, it works, hope I've chosen the proper place in startup sequence :) Thanks to all! 02.05.2007 18:12: Indeed, try: Put script in /etc/init.d and make it executable. update-rc.d /etc/init.d/scriptname defaults This a

RE: debian way to start firewall

2007-05-02 Thread Andrew Critchlow
Indeed, try: Put script in /etc/init.d and make it executable. update-rc.d /etc/init.d/scriptname defaults This auto creates symblinks into the correct places. To stop the script at startup use: update-rc.d /etc/init.d/scriptname remove man update-rc.d