随笔分类 - linux/uinx
摘要:1、查看防火墙是否安装。使用命令 chkconfig --list ,将列出所有的服务及其开启时的运行等级:说明iptable会在等级 2~5运行。你也可以使用命令 chkconfig --level2345 iptables on命令设置该服务默认启动。2、查看防火墙状态:service iptables status 即使服务运行了,防火墙也不一定起作用,你还得看防火墙规则的设置,iptables -L上述命令的返回值如果显示没有防火墙规则 ,那就是不起作用;反之就是防火墙在起作用。3、启动iptables服务:service iptables start;4、停止iptables服务:s
阅读全文

浙公网安备 33010602011771号