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

RE: Debian equivalent of rc.firewall??



> On Fri, 22 Dec 2000 01:07:34 -0700, Stefan Srdic said:
> 
> > 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?
> >  
> 	Put things to do at boot time in /etc/init.d/bootmisc.sh.

Then you have to run the update-rc.d utility:
update-rc.d bootmisc.sh defaults

This will create links to your script in /etc/init.d



> 
> --  
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org



Reply to: