summarylogtreecommitdiffstats
path: root/ip6tables.service
blob: 9dca615825ac14e34428296a450214b29c38338f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=IPv6 Packet Filtering Framework
Before=network-pre.target
Wants=network-pre.target
After=iptables.service

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

[Install]
WantedBy=multi-user.target