2019-08-01 21:26:06 +00:00
|
|
|
[Unit]
|
|
|
|
Description=IPv4 firewall with iptables
|
|
|
|
AssertPathExists=/etc/sysconfig/iptables
|
2020-07-28 13:57:58 +00:00
|
|
|
Before=network-pre.target
|
|
|
|
Wants=network-pre.target
|
2019-08-01 21:26:06 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=/usr/libexec/iptables/iptables.init start
|
|
|
|
ExecReload=/usr/libexec/iptables/iptables.init reload
|
|
|
|
ExecStop=/usr/libexec/iptables/iptables.init stop
|
|
|
|
Environment=BOOTUP=serial
|
|
|
|
Environment=CONSOLETYPE=serial
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
|
|
|
|
[Install]
|
2020-07-28 13:57:58 +00:00
|
|
|
WantedBy=multi-user.target
|