tpws: always compile PF support, use --enable-pf flag in FreeBSD

This commit is contained in:
bol-van 2022-01-23 23:17:52 +03:00
parent 8c525b598e
commit f10d48b5bb

View File

@ -224,7 +224,7 @@ Autostart '/usr/local/etc/rc.d/zapret.sh' :
``` ```
pfctl -a zapret -f /etc/zapret.anchor pfctl -a zapret -f /etc/zapret.anchor
pkill ^tpws$ pkill ^tpws$
tpws --daemon --port=988 --split-http-req=method --split-pos=2 tpws --daemon --port=988 --enable-pf --split-http-req=method --split-pos=2
``` ```
After reboot check that anchor is created and referred from the main ruleset : After reboot check that anchor is created and referred from the main ruleset :