2016-03-25 19:20:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Netfilter Tables
|
|
|
|
Documentation=man:nft(8)
|
|
|
|
Wants=network-pre.target
|
|
|
|
Before=network-pre.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
2016-04-10 20:00:25 +00:00
|
|
|
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
|
|
|
|
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
|
2016-03-25 19:20:49 +00:00
|
|
|
ExecStop=/sbin/nft flush ruleset
|
|
|
|
RemainAfterExit=yes
|
|
|
|
|
2016-04-10 19:58:34 +00:00
|
|
|
[Install]
|
2016-03-25 19:20:49 +00:00
|
|
|
WantedBy=multi-user.target
|