Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 19:24:55 +0100
From:      "Markie" <markie@notwentytwo.freeserve.co.uk>
To:        "Antoine Jacoutot" <ajacoutot@lphp.org>, <freebsd-questions@freebsd.org>
Subject:   Re: delay firewall start
Message-ID:  <002901c30c21$287b01f0$f300a8c0@mrblossom>
References:  <200304262014.41208.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
If you put your firewall in a file, say /etc/firewall.sh

Example contents:
#!/bin/tcsh
sleep 50
ipfw=/sbin/ipfw
${ipfw} add 100 allow all from any to any

(remember to make whatever you call the file executable) and in rc.conf I
think it's firewall_script="/etc/firewall.sh" then you could just have the
sleep 50 or something like that at the very top of the script I suppose?
Don't know of any other way....

Markie

----- Original Message -----
From: "Antoine Jacoutot" <ajacoutot@lphp.org>
To: <freebsd-questions@freebsd.org>
Sent: Saturday, April 26, 2003 7:14 PM
Subject: delay firewall start


> Hi !
>
> In FreeBSD, is it possible to delay the start of the firewall.
> I need my ppp connexion to be up before the firewall ruselet gets applied.
>
> Thanks in advance.
>
> Antoine
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002901c30c21$287b01f0$f300a8c0>