mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
3cf9d23aaa
Reformat pkg-install & pkg-message, and add 64-bit platform fix. Note: pf now register its user as proxy:proxy which uid/gid is 62:62.
16 lines
403 B
Plaintext
16 lines
403 B
Plaintext
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!
|