Do the last few lines of /etc/rc.conf look like the following?

local_rcconf="/etc/rc.conf.local"

[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line

Robert C Wittig wrote:
> I am running OBSD 3.9, and I finally got around to setting up PF.
> 
> Following the instructions at:
> 
> http://www.openbsd.org/faq/pf/config.html
> 
> ...I added:
> 
> pf=YES                # enable PF
> 
> ...to the file /etc/rc.conf.local.
> 
> I had to create the file first, as it was non-existent.
> 
> I also added:
> 
> pf_rules=/etc/pf.conf         # specify which file contains your rules
> 
> ...which was suggested at another tutorial at:
> 
> http://www.bgnett.no/~peter/pf/en/long-firewall.html
> 
> ...and created the suggested basic ruleset (in this tutorial) for
> /etc/pf.conf. 
> 
> Then I rebooted, but when I ran:
> 
> # pfctl -s info
> 
> ...it was disabled. So I ran...
> 
> # pfctl -e
> 
> ...and PF was enabled, and I loaded my ruleset, and tested the setup
> from another computer on my LAN, and PF is running fine. 
> 
> I am curious to know why 'pf=YES' added to /etc/rc.conf.local did not
> start PF automatically on reboot, and what I might do to correct
> this.  
> 
> Thanks in advance for any information.

Reply via email to