首页 > 其他 > 详细

centos防火墙和端口操作

时间:2015-05-28 12:21:53      阅读:147      评论:0      收藏:0      [点我收藏+]

查看所有端口:

netstat -ntlp

查询防火墙状态:

service iptables status

停止防火墙:

service iptables stop

启动防火墙:

service iptables start

重启防火墙:

service iptables restart

永久关闭防火墙:

chkconfig iptables off

永久关闭后启用:

chkconfig iptables on

 

centos防火墙和端口操作

原文:http://www.cnblogs.com/zhhda/p/4535510.html

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