CentOS7中启用 iptables报 job for iptables.service failed because the cpntrol process exited with error

运行 systemctl restart iptables.service  #重启防火墙使配置生效。

产生如下错误信息:job for iptables.service failed because the cpntrol process exited with error code.

解决方式,将下面指令挨着执行一遍:

 

service iptables save
systemctl stop firewalld
systemctl disable  firewalld
systemctl start iptables
systemctl status iptables
systemctl enable iptables
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章