summaryrefslogtreecommitdiff
path: root/core/iptables/iptables.service
blob: 5441e457776e70a58e4a28d0a883fb1c8fa425ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Packet Filtering Framework

[Service]
Type=oneshot
ExecStart=/usr/bin/iptables-restore /etc/iptables/iptables.rules
ExecReload=/usr/bin/iptables-restore /etc/iptables/iptables.rules
ExecStop=/usr/lib/systemd/scripts/iptables-flush
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target