strom/nft-simple-fw
Archived
1
0
Fork 0
This repository has been archived on 2024-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
nft-simple-fw/systemd/nft-fw.service
Thorsten Schubert 76f1f1ba13
Count total dropped and rejected packets
- Align log prefix

- Fix README

- Add include path to reload
2020-11-19 21:41:52 +01:00

16 lines
451 B
Desktop File

[Unit]
Description=Netfilter Tables
Documentation=man:nft(8) https://betaco.de/zeno/nft-simple-fw/src/branch/master/README.md
Wants=network-pre.target
Before=network-pre.target
[Service]
Type=oneshot
WorkingDirectory=/etc/nftables
ExecStart=/usr/bin/nft -f fw.nft
ExecReload=/usr/bin/nft -I /etc/nftables delete table inet fw ';' include '"fw.nft"'
ExecStop=/usr/bin/nft delete table inet fw
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target