首先查看防火墙的状态:输入指令:service iptables status如果是开启状态的话如图所示:如果关闭的状态是:那么对于正在运行的状态进行操作:停止防火墙: service iptables stop 启动防火墙: service iptables start 重启防火墙:service iptables restart 永久关闭防火墙:chkconfig iptables off 永久关闭后启用:chkconfig iptables on如图是关闭的过程:
(以上内容不代表本站观点。) --------------------------------- |