Re: debian way to start firewall
On Wed, 02 May 2007 04:06:13 -0700, Vladi Lemurov <firstname.lastname@example.org>
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?
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.