• 每天进步一点点!

文章分类

推荐网站

常用手册

Linux关闭防火墙【原创】

<<返回

2015-02-26 12:18:07

重启后生效

 #开启
chkconfig iptables on 

 #关闭 
chkconfig iptables off 

#或者用下面的命令关闭
 /sbin/chkconfig --level 2345 iptables off

 

即时生效

#开启
service iptables start 

#关闭
service iptables stop

 

查看防火墙是否开启

service iptables status

 

文章评论

  • 暂无评论

发表评论

昵称:

内容:

发表评论