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

Re: Firewall startup script



On Mon, Sep 06, 2004 at 05:32:29PM +0200, Lorenzo Rossi wrote:
> I need to load my firewall script at startup, but I do not know how to do
> this...I do not know how to write a startup script with
> "start|stop|restart" options....could you halp me giving an example you
> are using...?

/etc/init.d/... should contain enough examples.

> Or do you have any suggestion?

I personally prefer to start the firewall script from
/etc/network/interfaces like this:

iface eth9 inet static
	address ...
	netmask ...
	gateway ...
	pre-up /etc/network/firewall.sh

Regards
 Christoph

-- 
~
~
".signature" [Modified] 3 lines --100%--                3,41         All



Reply to: