where am I supposed to put my rc.firewall?

Chuck Swiger cswiger at mac.com
Fri Jan 30 16:55:05 PST 2004


Eric F Crist wrote:
> I'm trying to add IPFW support.  Where do I put my rc.firewall so that it gets 
> read at boot time?  I've tried /usr/local/etc/rc.d and /etc but neither seems 
> to get read.

Specify the location of your firewall script in /etc/rc.conf like so:

firewall_enable='YES'
firewall_type='/etc/ERICS_firewall'
firewall_flags='-p /usr/bin/cpp'

[ You might choose to use some other preprocessor... ]

-- 
-Chuck


More information about the freebsd-questions mailing list