Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 13:33:53 +0200
From:      Tim Priebe <tim@iafrica.com.na>
To:        Bryan Talbot <btalbot@ucsd.edu>, "Greg Quinlan" <Greg.Quinlan@swlct.sthames.nhs.uk>, <freebsd-questions@FreeBSD.ORG>
Cc:        <stable@FreeBSD.ORG>
Subject:   Re: New rc.conf entry question.
Message-ID:  <99091513391007.09401@310.priebe.alt.na>
References:  <4.2.0.58.19990914122726.00a802e0@mail.elcjn1.sdca.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Sep 1999, Bryan Talbot wrote:
> I accomplished this by simply setting 
> firewall_type="/etc/firewall_rules.m4" and modifying the last little bit of 
> the /etc/rc.firewall to read ...
> 
> elif [ "${firewall_type}" != "UNKNOWN" -a -r "${firewall_type}" ]; then
>          $fwcmd -p /usr/bin/m4 ${firewall_type}
> fi
> 
> 
> This puts all the custom firewall rules into one location that should never 
> be disturbed by an upgrade.  I couldn't get around the need to modify the 
> rc.firewall file somewhat though to allow for the use of M4.

I have done the same thing here, but have used a different filter, as the
person that will have to maintain the rules does not know m4.  Shold there be a
firewall_options variable added?

Tim.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99091513391007.09401>