Add nftables firewall

This commit is contained in:
2025-06-28 13:59:15 +02:00
parent 544d98d884
commit be3fcc6075
4 changed files with 25 additions and 0 deletions

View 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