12 lines
239 B
SYSTEMD
12 lines
239 B
SYSTEMD
|
[Unit]
|
||
|
Description=Packet Filtering Framework
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
|
||
|
ExecStop=/lib/systemd/scripts/iptables-flush
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|