systemctl status firewalld
service iptables status
systemctl stop firewalld
service iptables stop
systemctl disable firewalld chkconfig iptables off
systemctl enable firewalld
service iptables restart
chkconfig iptables on
原文:https://www.cnblogs.com/elfin/p/11427307.html