2020-10-15 11:44:19 +00:00
|
|
|
[Unit]
|
|
|
|
Description=IPv4 firewall with iptables
|
|
|
|
AssertPathExists=/etc/sysconfig/iptables
|
2021-07-05 12:15:52 +00:00
|
|
|
Before=network-pre.target
|
|
|
|
Wants=network-pre.target
|
2020-10-15 11:44:19 +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
|
|
|
|
|
|
|
|
[Install]
|
2021-07-05 12:15:52 +00:00
|
|
|
WantedBy=multi-user.target
|