firewalls

Matthew Dillon dillon at apollo.backplane.com
Thu Oct 21 11:24:11 PDT 2004


:Jonathan Fosburgh wrote:
:
:> particularly /etc/rc.firewall, which is where I have my ipfw rules.  Perhaps 
:> this is not the correct location for custom rules, but I haven't found a 
:> different place to put them.
:
:You can specify the location of your custom rules file in 
:firewall_script in /etc/rc.conf. Like:
:
:firewall_script="/etc/ipfw.rules.conf"
:
:Sascha

    Right.  Or more complete, something like this in /etc/rc.conf:

firewall_enable="YES"
firewall_type="/etc/ipfw.conf"

    If you want to run your own rc.firewall script rather then just loading
    a set of rules you can actually override that in your /etc/rc.conf as
    well by specifying:

firewall_script="your_custom_script_file_here"

    Nobody should be messing with the rc.* scripts themselves (other
    then /etc/rc.conf and /etc/rc.local of course).  That is why make
    upgrade overwrites them.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list