RE: Startup script

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

 



 

-----Original Message-----
From: netfilter-admin@xxxxxxxxxxxxxxxxxxx
[mailto:netfilter-admin@xxxxxxxxxxxxxxxxxxx] On Behalf Of stu
Sent: Friday, April 16, 2004 10:50 PM
To: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: RE: Startup script

 
> * stu (stu@xxxxxxxxxxxxxxxxxxxx) wrote:
> > Hi All
> > 
> > Where is the best place to put my firewall script, for example when 
> > the firewall is booted.
> > 
> 
> That depends entirely on your distros init scripts.  You left that 
> detail out though.  Try /etc/init.d/rc.local perhaps.
> 
> dan

Suse 9.0 pro - I am more interested in finding out at what run level the
script should kick in at. I have tried putting it in the
/etc/init.d/boot.local, but I think this comes up very last.

Thanks
Stu 

I'm using SUSE 9 pro but also have PortSentry 1.1.1 tightly configured and
running on the firewall so I load my script rather late as follows:

ln -s /etc/init.d/iptables /etc/init.d/rc3.d/S01iptables
ln -s /etc/init.d/iptables /etc/init.d/rc5.d/S01iptables $CHKCONFIG --level
35 iptables on

This works well for me.





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux