2003-06-26 18:20:13 +02:00
|
|
|
To use pf, please follow these steps:
|
2003-06-13 03:09:29 +02:00
|
|
|
|
2003-06-26 18:20:13 +02:00
|
|
|
1. Add kernel options into your kernel config file and recompile kernel:
|
2003-06-13 03:09:29 +02:00
|
|
|
|
2003-06-26 18:20:13 +02:00
|
|
|
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!
|