summaryrefslogtreecommitdiffstats
path: root/abs/core/iptables/iptables.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/iptables/iptables.service')
-rw-r--r--abs/core/iptables/iptables.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/iptables/iptables.service b/abs/core/iptables/iptables.service
new file mode 100644
index 0000000..3084f53
--- /dev/null
+++ b/abs/core/iptables/iptables.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Packet Filtering Framework
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
+ExecStop=/usr/lib/systemd/scripts/iptables-flush
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target