initial commit

This commit is contained in:
2025-12-27 19:23:42 +01:00
commit fea1d9fdc0
8 changed files with 328 additions and 0 deletions

16
systemd/nft-fw.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Apply nftables firewall (parameterized)
Documentation=man:nft(8)
After=local-fs.target
Wants=network-pre.target
Before=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/fw-apply
ExecStop=/usr/local/sbin/fw-stop
RemainAfterExit=yes
PrivateTmp=yes
[Install]
WantedBy=multi-user.target