blob: e842cc1973a1618423210f47d6a2d656b9820d26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=Packet Filtering Framework
DefaultDependencies=no
After=systemd-sysctl.service
Before=sysinit.target
ConditionFileNotEmpty=/etc/iptables/rules.v6
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
ExecStop=/usr/sbin/iptables/ip6tables-flush
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
|