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

Re: automatic Firewall start/stop



Thanks! Works great. I added both pre-up and post-down
lines to my eth0 iface entry and it seems to work no
problems. A silly sys admin question: where would one
typically keep the script? I just have it in my home
directory for now.

Richard

--- Mark Roach <mrroach@okmaybe.com> wrote:
> On Fri, 2002-08-02 at 13:31, Richard Weil wrote:
> > Could someone send me an example, or provide a
> > detailed explanation, of how to integrate a
> firewall
> > start/stop script into the appropriate networking
> > scripts, so that the firewall is automatically
> started
> > and stopped on (re)boot and shutdown? Most
> [snip]
> 
> I will assume that you don't actually care if your
> iptables rules are
> cleared out when your system is powered off... There
> are a couple ways
> to do it. One is to put a link to your script in
> /etc/rcS.d another is
> to put a line like "up /path/to/script" in
> /etc/network/interfaces.
> There are of course other ways, but those are the
> most "debian" ways to
> do it, I think. (corrections welcome, of course)
> 
> -Mark
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc



__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com



Reply to: