where am I supposed to put my rc.firewall?

Chuck Swiger cswiger at mac.com
Sat Jan 31 07:50:25 PST 2004


Peder Blom wrote:
[ ... ]
> Add this to your rc.conf: (instead of firewall_type=...):
> firewall_script="/etc/grog.firewall"
> 
> See /etc/defaults/rc.conf !

While I won't speak against looking at /etc/defaults/rc.conf, setting 
firewall_type works fine; see the end of /etc/rc.firewall:

*)
         if [ -r "${firewall_type}" ]; then
                 ${fwcmd} ${firewall_flags} ${firewall_type}
         fi
         ;;

-- 
-Chuck


More information about the freebsd-questions mailing list