关闭iptables(Centos)

由于搭建了CDH-Hadoop,方便起见,事先关闭了防火墙:

services iptables stop;

chkconfig iptables off;

services ip6tables stop;

chkconfig ip6tables off;

但是发现reboot以后,iptables仍然启动,最后发现,原来是自己以前按照鸟哥的说法制作了iptables.rule,

并在/etc/rc.local启动项里,加载了此脚本导致(笨笨。。。。。)

posted on 2015-05-14 09:35  Tyoyi  阅读(359)  评论(0编辑  收藏  举报

导航