centos 防火墙命令

centos6:

service iptables status

centos7:

firewall-cmd --state

move on
原文地址:https://www.cnblogs.com/amy720/p/12060125.html