Building the Network You Need with OpenBSD's PF: EuroBSDCon, St. Julian's, September 26th 2013 | ||
---|---|---|
Prev | Next |
FreeBSD 8.2 has ~ OpenBSD 4.1's PF, FreeBSD 9 has ~ 4.5
The FreeBSD Handbook says
/etc/rc.conf
pf_enable="YES" # Enable PF (load module if required) pf_rules="/etc/pf.conf" # rules definition file for pf pf_flags="" # additional flags for pfctl startup pflog_enable="YES" # start pflogd(8) pflog_logfile="/var/log/pflog" # where pflogd should store the logfile pflog_flags="" # additional flags for pflogd startup
Fortunately most of these are the defaults (check your /etc/defaults/rc.conf), you need only add
pf_enable="YES" # Enable PF (load module if required) pflog_enable="YES" # start pflogd(8)
Jump to Simplest Possible Rule Set?