SANGFOR 旧防火墙配置怎么导入新防火墙
环境:
1.旧防火墙 8.0.48
AF-1000BB1510
2.新防火墙 8.0.75
AF-2000-FH2130B-SC
问题描述:
旧防火墙配置怎么导入新防火墙
解决方案:
以下不支持需要手工导入配置
1.先导出旧防火墙配置文件
2.登录新防火墙激活授权-找到管理员账号打开命令行和webapi
3.shell登录防火墙
4.执行命令参考
Moa shell login success
successfully source /sfos/system/etc/env/0.sfos_env.sh
successfully source /sfos/system/etc/env/1.os-env
successfully source /sfos/system/etc/env/12.vpn-env
successfully source /sfos/system/etc/env/60.af-env.sh
successfully source /sfos/system/etc/env/sf_license-env.sh
[admin@sfos-x86_64 tmp]$ su - sangfor
Password:
successfully source /sfos/system/etc/env/0.sfos_env.sh
successfully source /sfos/system/etc/env/1.os-env
successfully source /sfos/system/etc/env/12.vpn-env
successfully source /sfos/system/etc/env/60.af-env.sh
successfully source /sfos/system/etc/env/sf_license-env.sh
[sangfor@sfos-x86_64 ~]#
[sangfor@sfos-x86_64 ~]#
[sangfor@sfos-x86_64 ~]# sfmount.sh --rw
successfully remount partition(/) to rw
successfully remount partition(/sfos/system) to rw
[sangfor@sfos-x86_64 ~]# dev
dev_debug.sh devid_report dev_info devlink
[sangfor@sfos-x86_64 ~]# dev_debug.sh open
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/0.sfos_env.sh
successfully source /sfos/system/etc/env/1.os-env
successfully source /sfos/system/etc/env/12.vpn-env
successfully source /sfos/system/etc/env/60.af-env.sh
successfully source /sfos/system/etc/env/sf_license-env.sh
[admin@sfos-x86_64 tmp]$ su - sangfor
Password:
successfully source /sfos/system/etc/env/0.sfos_env.sh
successfully source /sfos/system/etc/env/1.os-env
successfully source /sfos/system/etc/env/12.vpn-env
successfully source /sfos/system/etc/env/60.af-env.sh
-bash: successfully: command not foundsuccessfully source /sfos/system/etc/env/sf_license-env.sh
[sangfor@sfos-x86_64 ~]#
[sangfor@sfos-x86_64 ~]#
[sangfor@sfos-x86_64 ~]# sfmount.sh --rw
successfully remount partition(/) to rw
successfully remount partition(/sfos/system) to rw
[sangfor@sfos-x86_64 ~]# dev
dev_debug.sh devid_report dev_info devlink
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/1.os-env
[sangfor@sfos-x86_64 ~]# dev_debug.sh open
[sangfor@sfos-x86_64 ~]#
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/12.vpn-env
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/60.af-env.sh
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/sf_license-env.sh
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# [admin@sfos-x86_64 tmp]$ su - sangfor
-bash: [admin@sfos-x86_64: command not found
[sangfor@sfos-x86_64 ~]# Password:
-bash: Password:: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/0.sfos_env.sh
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/1.os-env
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/12.vpn-env
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/60.af-env.sh
-bash: successfully: command not found
[sangfor@sfos-x86_64 ~]# successfully source /sfos/system/etc/env/sf_license-env.sh
5.先删除新防火墙一下一些默认配置
6.shell打开旧防火墙配置文件
解压并导入
p 后面加上新防火墙登入密码
自动开始导入
7.18分钟后导入完成(如用户账户多导入时间久)
8.刷新防火墙页面,旧防火墙配置已导入
完