18 lines
372 B
Desktop File
18 lines
372 B
Desktop File
[Unit]
|
|
Description=Netfilter Tables
|
|
Documentation=man:nft(8)
|
|
Wants=network-pre.target
|
|
Before=network-pre.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ExecStart=/sbin/nft -f /etc/nftables.conf
|
|
ExecReload=/sbin/nft 'flush ruleset; include "/etc/nftables.conf";'
|
|
ExecStop=/sbin/nft flush ruleset
|
|
RemainAfterExit=yes
|
|
|
|
Install]
|
|
WantedBy=multi-user.target
|