raspap-webgui-mirror/installers/iptables.service

16 lines
365 B
Desktop File

[Unit]
Description=Packet Filtering Framework
DefaultDependencies=no
After=systemd-sysctl.service
Before=sysinit.target
[Service]
Type=oneshot
ExecStart=/sbin/iptables-restore /etc/iptables.raspap.rules
ExecReload=/sbin/iptables-restore /etc/iptables.raspap.rules
ExecStop=/etc/iptables/flush-iptables.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target