12.7.3. Making the Firewall Load the Firewall Policy After Reboot: ipfw

For ipfw, Firewall Builder generates a policy in the form of a shell script (as for iptables).

To install the policy, copy the generated script to the /usr/local/etc/ directory using ssh and then execute it. To make the firewall run this script at boot time make the following modifications to the /etc/rc.conf file:

firewall_enable="YES"                        
# Set to YES to enable firewall functionality
firewall_script="/usr/local/etc/firewall.fw" 
# Which script to run to set up the firewall
      
 

Copyright © 2000-2012 NetCitadel, Inc. All rights reserved.
 Using free CSS Templates.