首页 > 其他 > 详细

CentOS6系统防火墙开启、关闭、查看状态(转载)

时间:2018-11-23 23:17:59      阅读:276      评论:0      收藏:0      [点我收藏+]

原文:https://blog.csdn.net/aaron_80726/article/details/79027760 

注意:要进入到~目录 也就是家目录下才能查看防火墙

进入家目录:cd ~

关闭虚拟机防火墙:

关闭命令:  service iptables stop

永久关闭防火墙:chkconfig iptables off

两个命令同时运行,运行完成后查看防火墙关闭状态
service iptables status

1 关闭防火墙-----service iptables stop 
2 启动防火墙-----service iptables start 
3 重启防火墙-----service iptables restart 
4 查看防火墙状态--service iptables status 
5 永久关闭防火墙--chkconfig iptables off 
6 永久关闭后启用--chkconfig iptables on

CentOS6系统防火墙开启、关闭、查看状态(转载)

原文:https://www.cnblogs.com/mkl34367803/p/10010093.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!