raspap-webgui/installers/iptables.service

17 lines
365 B
SYSTEMD
Raw Normal View History

2020-03-20 08:23:05 +01:00
[Unit]
Description=Packet Filtering Framework
DefaultDependencies=no
After=systemd-sysctl.service
Before=sysinit.target
2020-03-20 13:10:03 +01:00
2020-03-20 08:23:05 +01:00
[Service]
Type=oneshot
ExecStart=/sbin/iptables-restore /etc/iptables.raspap.rules
ExecReload=/sbin/iptables-restore /etc/iptables.raspap.rules
2020-03-20 08:23:05 +01:00
ExecStop=/etc/iptables/flush-iptables.sh
RemainAfterExit=yes
2020-03-20 13:10:03 +01:00
2020-03-20 08:23:05 +01:00
[Install]
WantedBy=multi-user.target