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

RE: debian way to start firewall


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

---------------------------------------- > Date: Wed, 2 May 2007 18:06:13 +0700 > From: fix@stekloprom.ru > To: debian-user@lists.debian.org > Subject: debian way to start firewall > > Hello! > 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 "iptables" gave no answers). I > googled and found different solutions based on putting script in init.d > and linking it to rc[0-6]. That's all right and will work but is there > "debian way" to do that? > Vladi. > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org >

Reply to: