aboutsummaryrefslogtreecommitdiffstats
path: root/security/pf/pkg-message
blob: 02f150ce6ffbf9bc117b9ec18e746b6bbe5a1824 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
To use pf, please follow these steps:

1. Add kernel options into your kernel config file and recompile kernel:

device          bpf
options         PFIL_HOOKS
options         RANDOM_IP_ID

2. Please set the following variables in /etc/rc.conf according to your needs:

pf_enable="Yes"
pf_logd="Yes"
pf_conf="%%PREFIX%%/etc/pf.conf"

3. Check %%PREFIX%%/etc/rc.d/pf.sh, it is the startup script for pf!