Files
nft-nd-priv/systemd/nft-fw.service
2025-12-27 19:23:42 +01:00

17 lines
322 B
Desktop File

[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