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

Re: Debian equivalent of rc.firewall??

Since potato debian has implemented ifup[down]. Where you configure your
interfaces in /etc/network/interfaces you can add a line like:

iface eth# inet static
        up /etc/network/firewall start
        down /etc/network/firewall stop

So as your interface goes up you can load your firewall [ip-masq]
scripts. I have not used the ipmasq package and that might be better. I am
just giving other suggestions.


On Fri, 22 Dec 2000, Stefan Srdic wrote:

> I've just recently switched distros from Mandrake to Debain, I started 
> out with Mandrake because I wanted to learn some fundementals before 
> expanding to a "true" Linux distribution.
> I'm having troubles setting up IP Masquerading. When I used in Mandrake 
> (Red Hat based) I wrote a script (rc.masq) and executed it a boot-time 
> through the rc.local configuration script.
> Now, in Debain, I'm having trouble in finding out which rc*.d directory 
> I should insert my script and what to name it. I read through the IP 
> Masq HOW-TO but it seems to be RedHat biased.
> Where would I insert my Masq/Firewall scripts and how would I get them 
> to be read at boot-time?
> Thanks
> Stef
> --  
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: