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

你可能感兴趣的:(suse11/12关闭防火墙)