数据加载中……


 

 登   陆

我的分类(专题)
数据加载中……

链接

Blog信息
数据加载中……

 



Linux关闭防火墙命令
樱木花盗 发表于 2014-1-17 22:49:03
CentOS6
永久性生效,重启后不会复原
开启:chkconfig iptables on
关闭:chkconfig iptables off

即时生效,重启后复原
开启:service iptables start
关闭:service iptables stop
------------------------------------------------------
CentOS7
查看防火墙状态
firewall-cmd --state

停止firewall
systemctl stop firewalld

禁止firewall开机启动
systemctl disable firewalld

阅读全文 | 回复(0) | 引用通告 | 编辑
 


发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
    数据加载中……


Powered by Oblog.