nftables support

This commit is contained in:
bol-van
2022-02-15 17:15:36 +03:00
parent b7aa3a878c
commit 95667733a6
35 changed files with 3099 additions and 2000 deletions

View File

@@ -20,26 +20,26 @@ case "$1" in
"$0" start
;;
start-fw)
start-fw|start_fw)
zapret_apply_firewall
;;
stop-fw)
stop-fw|stop_fw)
zapret_unapply_firewall
;;
restart-fw)
restart-fw|stop_fw)
zapret_restart_firewall
;;
reload-fw-tables)
reload-fw-tables|reload_fw_tables)
pf_table_reload
;;
start-daemons)
start-daemons|start_daemons)
zapret_run_daemons
;;
stop-daemons)
stop-daemons|stop_daemons)
zapret_stop_daemons
;;
restart-daemons)
restart-daemons|restart_daemons)
zapret_restart_daemons
;;