Add nftables firewall
This commit is contained in:
9
rc.firewall/firewall/down
Normal file
9
rc.firewall/firewall/down
Normal file
@ -0,0 +1,9 @@
|
||||
######################################################
|
||||
# Run the rc.firewall_shutdown script (if it exists) #
|
||||
######################################################
|
||||
|
||||
if -t { [ -x /etc/rc.d/rc.firewall_shutdown ] }
|
||||
# Prepend every output with the service's name
|
||||
pipeline -w { sed -u "s/^/firewall: /" }
|
||||
fdmove -c 2 1
|
||||
nft flush ruleset
|
Reference in New Issue
Block a user