8cce6c
[Unit]
8cce6c
Description=IPv4 firewall with iptables
8cce6c
AssertPathExists=/etc/sysconfig/iptables
2e3e3a
Before=network-pre.target
2e3e3a
Wants=network-pre.target
8cce6c
8cce6c
[Service]
8cce6c
Type=oneshot
8cce6c
RemainAfterExit=yes
8cce6c
ExecStart=/usr/libexec/iptables/iptables.init start
8cce6c
ExecReload=/usr/libexec/iptables/iptables.init reload
8cce6c
ExecStop=/usr/libexec/iptables/iptables.init stop
8cce6c
Environment=BOOTUP=serial
8cce6c
Environment=CONSOLETYPE=serial
8cce6c
StandardOutput=syslog
8cce6c
StandardError=syslog
8cce6c
8cce6c
[Install]
2e3e3a
WantedBy=multi-user.target