`
MauerSu
  • 浏览: 495239 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

CentOS linux关闭iptables防火墙

 
阅读更多
源:http://www.2cto.com/os/201205/132884.html
评:
linux服务器下防火墙为iptables组件,在安装一些软件的时候,iptables防火墙会阻止我们一些必要的连接,所以,我代购的美国服务器,荷兰服务器等海外服务器iptables初始状态为关闭。如果有一些服务器没有关闭iptables,并且你还特别想关闭它,哪么以下命令,你可以能用的上。

查看iptables状态:
service iptables status

查看iptables状态

查看iptables状态
(从图中可以看到,我的服务iptables是已经关闭的,如果你的是开启状态,你可以通过一下命令关闭)  www.2cto.com 
iptables开机自动启动:
开启: chkconfig iptables on
关闭: chkconfig iptables off
iptables关闭服务:
开启: service iptables start
关闭: service iptables stop
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics