SUSE11&12 永久关闭防火墙

SUSE11下:
关闭操作为:
service SuSEfirewall2_setup stop
service SuSEfirewall2_init stop
取消开机启动防火墙:
chkconfig SuSEfirewall2_init off
chkconfig SuSEfirewall2_setup off


启动操作为:
service SuSEfirewall2_setup start
service SuSEfirewall2_init start
取消开机启动防火墙:
chkconfig SuSEfirewall2_init on
chkconfig SuSEfirewall2_setup on


suse12下操作为:
关闭防火墙
systemctl stop SuSEfirewall2.service
取消开机启动防火墙
systemctl disable SuSEfirewall2.service

开启防火墙
systemctl enable SuSEfirewall2.service
开机启动防火墙
systemctl start SuSEfirewall2.service

posted @ 2018-05-10 17:20  jiu~  阅读(4947)  评论(0编辑  收藏  举报