yum install firewalld
systemctl stop iptables;
systemctl mask iptables;
systemctl unmask firewalld
systemctl start firewalld
systemctl status firewalld
yum install firewalld
systemctl stop iptables;
systemctl mask iptables;
systemctl unmask firewalld
systemctl start firewalld
systemctl status firewalld
转载于:https://www.cnblogs.com/zlbrother/p/9100530.html