diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-06-28 13:59:15 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-06-28 13:59:15 +0200 |
| commit | be3fcc60753515b1100c4dc2dfb355a16a49db87 (patch) | |
| tree | 4ce6ee0fe8ae3f7fbd4b2245c45175e821333a1b /rc.firewall/firewall/up | |
| parent | 544d98d88420e204b9e319c550ed417b42bc8a60 (diff) | |
| download | s6-be3fcc60753515b1100c4dc2dfb355a16a49db87.tar.gz | |
Add nftables firewall
Diffstat (limited to 'rc.firewall/firewall/up')
| -rw-r--r-- | rc.firewall/firewall/up | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rc.firewall/firewall/up b/rc.firewall/firewall/up new file mode 100644 index 0000000..2d62e8d --- /dev/null +++ b/rc.firewall/firewall/up @@ -0,0 +1,11 @@ +#################################################################### +# Run the rc.firewall script # +# # +# See the HOWTOs on http://www.netfilter.org/ for documentation on # +# setting up a firewall or NAT on Linux # +#################################################################### + +# Prepend every output with the service's name +pipeline -w { sed -u "s/^/firewall: /" } +fdmove -c 2 1 +nft -f /etc/nftables/conf.nft |
