Using CentOS 7 o'clock to discover the error when using the iptables firewall, unit Iptables.service failed to load, which means that the firewall failed to start, then how to handle it.
has been used in CentOS 6 habit, a bit did not adapt to come over. Firewall configuration after performing service iptables save appears "Failed to restart Iptables.service:Unit iptables.service Failed to load:no such file or Directory. " Error, the firewall is managed by FIREWALLD in CentOS 7 or Rhel 7 or Fedora, and of course you can restore the traditional way of management. or use the new command to manage it.
If you use tradition, execute the command:
Systemctl Stop Firewalld
Systemctl Mask Firewalld
and install Iptables-services:
Yum Install Iptables-services
Set boot up:
Systemctl Enable Iptables
Systemctl [Stop|start|restart] Iptables
#or
Service iptables [Stop|start|restart]
Service Iptables Save
#or
/usr/libexec/iptables/iptables.init Save
From the above solution to see this is the firewall does not start, iptables Firewall service does not start caused by OH.
CENTOS7 installation Iptables