CentOS关闭防火墙

centos 7:

systemctl stop firewalld.service #停止
systemctl disable firewalld.service #禁用

之前的版本:

service iptables stop #停止
chkconfig iptables off #禁用

更多请文章请参考Linux常用工具使用

posted @ 2017-10-22 15:50  枫竹梦  阅读(114)  评论(0编辑  收藏  举报