--- /dev/null
+[Unit]
+Description=ip6tables
+Before=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+EnvironmentFile=/etc/conf.d/ip6tables
+ExecStart=/sbin/ip6tables-restore ${SAVE_RESTORE_OPTIONS} ${IP6TABLES_SAVE}
+ExecStop=/sbin/ip6tables-save ${SAVE_RESTORE_OPTIONS} ${IP6TABLES_SAVE}
+
+[Install]
+WantedBy=multi-user.target
+
--- /dev/null
+[Unit]
+Description=iptables
+Before=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+EnvironmentFile=/etc/conf.d/iptables
+ExecStart=/sbin/iptables-restore ${SAVE_RESTORE_OPTIONS} ${IPTABLES_SAVE}
+ExecStop=/sbin/iptables-save ${SAVE_RESTORE_OPTIONS} ${IPTABLES_SAVE}
+
+[Install]
+WantedBy=multi-user.target