[Unit] Description=Iptables firewall rules Documentation=man:iptables(8) [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/bash -c "/sbin/iptables-service start" ExecReload=/bin/bash -c "/sbin/iptables-service restart" ExecStop=/bin/bash -c "/sbin/iptables-service stop" StandardOutput=syslog [Install] WantedBy=multi-user.target