instruction
service iptables status
Report an error
Unit iptables.service could not be found.
yum install iptables-services
Set the boot self -starting
systemctl enable iptables
start up
systemctl start iptables
service iptables status


service iptables stop
service iptables start
Firewalld method
Start: SystemCtl Start Firewalld
View status: SystemCtl Status Firewalld
Disable, prohibit startup: SystemCtl Disable Firewalld
Stop running: SystemCTL Stop Firewalld
Restart: Firewall-cmd --reload
Pit when configuring fastDfs: restart firewall on CentOs7 or Reference blog: Difference between CentOs7 and CentOs6 The default firewall for centos7 is firewalld firewall, not using iptables, so you m...
Today, when the firewall was turned off, Unit iptables.service could not be found. After inspection, it was found that it was caused by the centos version, so I made this document to record Let’...
In CentOS 7 or Fedora or RHEL 7 firewall to manage the firewalld Add to Reload View delete ...
For the first time, when using CentOS 7, when the firewall is configured, the iptables service cannot be used, and sometimes the command can succeed, sometimes it is not, especially those written, and...
The following error message: With CentOS 6 has been used to it, I did not getting it. ": Unit iptables.service failed to load:. No such file or directory Failed to restart iptables.service" ...
Scenario: Turn off the firewall on the newly installed CentOS7.8 Error: Failed to stop iptables.service: Unit iptables.service not loaded. Reason: In CentOS7 and above, the management of the firewall ...
Today, I rented a few new cloud servers, configured the environment, and first set up a wave of Zookeeper clusters. Like the previous machine, turn off the firewall service iptables stop first, and su...
When the firewall is closed, it appears: Solution: yum install iptables-services In fact, after centos7 is based on iptable systemctl stop firewalld...
original: Execution in CentOS7 Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory. Firewalls are managed by firewalld in CentOS 7 or RHEL 7 ...