好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

CentOS linux关闭iptables防火墙 - Linux操作系统:Ubu

CentOS linux关闭iptables防火墙

 

 linux服务器下防火墙为iptables 组件 ,在安装一些软件的时候,iptables防火墙会阻止我们一些必要的连接,所以,我代购的美国服务器,荷兰服务器等海外服务器iptables初始状态为关闭。如果有一些服务器没有关闭iptables,并且你还特别想关闭它,哪么以下命令,你可以能用的上。
 

查看iptables状态:

service iptables status



 

查看iptables状态

(从图中可以看到,我的服务iptables是已经关闭的,如果你的是开启状态,你可以通过一下命令关闭)  www.2cto.com  

iptables开机自动启动:

开启: chkconfig iptables on 

关闭: chkconfig iptables off

iptables关闭服务:

开启: service iptables start 

关闭: service iptables stop

 

 

作者 wybos

查看更多关于CentOS linux关闭iptables防火墙 - Linux操作系统:Ubu的详细内容...

  阅读:57次