代码语言:javascript复制
suse11
关闭操作为:
service SuSEfirewall2_setup stop
service SuSEfirewall2_init stop
代码语言:javascript复制取消开机启动防火墙:
chkconfig SuSEfirewall2_init off
chkconfig SuSEfirewall2_setup off
代码语言:javascript复制启动操作为:
service SuSEfirewall2_setup start
service SuSEfirewall2_init start
代码语言:javascript复制取消开机启动防火墙:
chkconfig SuSEfirewall2_init on
chkconfig SuSEfirewall2_setup on
代码语言:javascript复制suse12关闭防火墙
systemctl stop SuSEfirewall2.service
取消开机启动防火墙
systemctl disable SuSEfirewall2.service
开启防火墙
systemctl enable SuSEfirewall2.service
开机启动防火墙
systemctl start SuSEfirewall2.service