mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 05:22:58 +03:00
sysv helper functions : APPLY_FW=1 to override INIT_APPLY_FW
This commit is contained in:
parent
a2a75bb34b
commit
599791dea0
@ -312,7 +312,7 @@ IFACE_WAN=eth1
|
||||
В своем скрипте необходимо выставить переменную APPLY_FW=1, чтобы принудительно разрешить применение правил iptales
|
||||
вне зависимости от параметра INIT_APPLY_FW.
|
||||
Пример :
|
||||
./opt/zapret/init.d/sysv/functions
|
||||
. /opt/zapret/init.d/sysv/functions
|
||||
APPLY_FW=1
|
||||
fw_tpws_add "--dport 80 -m set --match-set zapret dst" "--dport 80 -m set --match-set zapret6 dst" $TPPORT_HTTP
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user