关闭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   Tyoyi  阅读(364)  评论(0编辑  收藏  举报

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

统计

点击右上角即可分享
微信分享提示