運行 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