Browse Source

readme bsd: tpws bind local

pull/98/head
bol-van 3 years ago
parent
commit
445ac06360
  1. 2
      docs/bsd.eng.md
  2. 2
      docs/bsd.txt

2
docs/bsd.eng.md

@ -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 --enable-pf --split-http-req=method --split-pos=2 tpws --daemon --port=988 --enable-pf --bind-addr=127.0.0.1 --bind-iface6=em1 --bind-linklocal=force --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 :

2
docs/bsd.txt

@ -226,7 +226,7 @@ rdr pass on em1 inet6 proto tcp to port {80,443} -> fe80::20c:29ff:5ae3:4821 por
----------- -----------
pfctl -a zapret -f /etc/zapret.anchor pfctl -a zapret -f /etc/zapret.anchor
pkill ^tpws$ pkill ^tpws$
tpws --daemon --port=988 --enable-pf --split-http-req=method --split-pos=2 tpws --daemon --port=988 --enable-pf --bind-addr=127.0.0.1 --bind-iface6=em1 --bind-linklocal=force --split-http-req=method --split-pos=2
----------- -----------
После перезагрузки проверьте, что правила создались : После перезагрузки проверьте, что правила создались :

Loading…
Cancel
Save