CentOS 关闭防火墙

时间: 2016-03-23 / 分类: centos / 浏览次数: 3,230 views / 0个评论 发表评论

1) 永久性生效,重启后不会复原

开启: chkconfig iptables on

关闭: chkconfig iptables off

2) 即时生效,重启后复原

开启: service iptables start

关闭: service iptables stop

发表评论

您的昵称 *

您的邮箱 *

您的网站