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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章