iptables-rules.service 289 B

123456789101112131415161718
  1. [Unit]
  2. Description=iptables rules
  3. After=syslog.target
  4. Before=network.target
  5. [Service]
  6. Type=oneshot
  7. RemainAfterExit=yes
  8. User=root
  9. Group=root
  10. ExecStart=/etc/iptables-rules start
  11. ExecStop=/etc/iptables-rules stop
  12. ExecReload=/etc/iptables-rules restart
  13. [Install]
  14. WantedBy=multi-user.target