Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 21:42:08 +0800
From:      <chael@southgate.ph.inter.net>
To:        "Mark" <admin@asarian-host.net>, <freebsd-questions@freebsd.org>
Subject:   Re: Running /etc/rc.firewall in the background
Message-ID:  <009a01c3786a$80a4b410$420ea8cb@mrj>
References:  <200309111316.H8BDGOSF029451@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hmmm...  /etc/rc.firewall is not an executable script. You should start with
this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
If you have the necessary options in your kernel, you can make it start vi
rc.conf or a simple sh script placed in a startup dir. Eitherway, running
ipfw rules shouldn't take more than a second or two.


> I have quite a few firewall rules (FreeBSD 4.7R). This causes the server
> start-up to take several minutes extra. I wanted to have the rules loaded
in
> the background; like so:
>
> firewall_script="/etc/rc.firewall &"
>
> But, alas, that does not work. :( Is there a way to do this at all?
>
> Thanks!
>
> - Mark
>
> _______________________________________________
> 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?009a01c3786a$80a4b410$420ea8cb>