# systemctl start firewalld # 启动,
# systemctl enable firewalld # 开机启动
# systemctl stop firewalld # 关闭
# systemctl disable firewalld # 取消开机启动
查看特性
firewall-cmd --list-all
查看firewall服务状态
systemctl status firewalld
firewall-cmd --state
参考:https://havee.me/linux/2015-01/using-firewalls-on-centos-7.html
原文:http://www.cnblogs.com/yuhuangdadi/p/6341269.html