F100防火墙按照视频配置WEB和IP SSLVPN都不成功,请求协助
(0)
最佳答案
1 接口是否加入安全域。包括AC口
2 授权ACL是否放通资源,给终端下发的路由是否配置
如果以上都配置正确,请debug看一下
debug ip packet acl xxxx
debug ip info acl xxxx
debug security-policy packet xxxx
debug aspf packet xxxx
(0)
确认下具体产品型号、软件版本以及异常截图和防火墙输出情况进一步判断吧
如果不方便透露建议联系400热线或采购渠道H3C认证代理商方面由专业工程师定位并处理。
(0)
暂无评论
1配置需求及说明
本案例适用于软件平台为Comware V7系列防火墙:本案例适用于如M9006、M9010、M9014等M9K系列的防火墙。
注:本案例是在F100-C-G2的version 7.1.064, Release 9333P35版本上进行配置和验证的。
路由器设备作为出口设备,防火墙旁挂,外网PC通过inode软件拨SSLVPN,认证成功后可以访问内网的资源。
设置路由器出0口地址222.1.1.100,配置nat outbound,以及针对内部的提供服务的端口号修改为14433,缺省端口为443,443端口和https端口冲突,然后配置nat server映射对应的端口
[H3C]interface GigabitEthernet0/0
[H3C-GigabitEthernet0/0]ip address 222.1.1.100 255.255.255.0
[H3C-GigabitEthernet0/0] nat outbound
[H3C-GigabitEthernet0/0] nat server protocol tcp global 222.1.1.100 14443 inside 192.168.40.2 14443
设置路由器内网接口地址为192.168.30.2
[H3C]interface GigabitEthernet0/1
[H3C-GigabitEthernet0/1] ip address 192.168.30.2 255.255.255.0
[H3C-GigabitEthernet0/1]
路由器设置针对内网的网段路由:
[H3C] ip route-static 0.0.0.0 0 222.1.1.200
[H3C] ip route-static 192.168.0.0 16 192.168.30.1
#配置策略路由保证内网的数据可以上送到防火墙设备
[H3C]acl ad 3000
[H3C-acl-ipv4-adv-3000] rule 10 permit ip source 192.168.20.0 0.0.0.255 destination 10.10.10.0 0.0.0.255
[H3C-acl-ipv4-adv-3000]quit
[H3C]policy-based-route aaa permit node 10
[H3C-pbr-aaa-10] if-match acl 3000
[H3C-pbr-aaa-10] apply next-hop 192.168.40.2
[H3C-pbr-aaa-10]quit
#配置对应的ip地址和调用策略路由
[H3C]interface Vlan-interface2
[H3C-Vlan-interface2] ip address 192.168.20.1 255.255.255.0
[H3C-Vlan-interface2] ip policy-based-route aaa
[H3C-Vlan-interface2]quit
[H3C]interface Vlan-interface3
[H3C-Vlan-interface3] ip address 192.168.30.1 255.255.255.0
[H3C-Vlan-interface3]quit
[H3C]interface Vlan-interface4
[H3C-Vlan-interface4] ip address 192.168.40.1 255.255.255.0
[H3C-Vlan-interface4]quit
#配置相应的路由
[H3C] ip route-static 0.0.0.0 0 192.168.30.2
#配置相应的路由
[H3C] ip route-static 0.0.0.0 0 192.168.40.1
1.4 配置SSL VPN网关
#SSLVPN网关IP地址填写防火墙1口地址192.168.40.2,端口号修改为14433,缺省端口为443,443端口和https端口冲突,然后使能网关配置。
<H3C>sys
[H3C]sslvpn gateway SSLVPNGW
[H3C-sslvpn-gateway-SSLVPNGW]ip address 192.168。40.2 port 14433
[H3C-sslvpn-gateway-SSLVPNGW]service enable
[H3C-sslvpn-gateway-SSLVPNGW]quit
#创建SSL VPN AC接口1,配置接口IP为10.10.10.1/24
[H3C]interface SSLVPN-AC 1
[H3C-SSLVPN-AC1]ip address 10.10.10.1 255.255.255.0
[H3C-SSLVPN-AC1]quit
#创建地址池名称为“SSLPOOL1”,指定IP地址范围为10.10.10.2——10.10.10.254
[H3C]sslvpn ip address-pool SSLPOOL 10.10.10.2 10.10.10.254
#创建ACL 3999,允许SSL VPN用户访问的内网资源192.168.10.0/24网段
[H3C]acl advanced 3999
[H3C-acl-ipv4-adv-3999]rule permit ip destination 192.168.20.0 0.0.0.255
[H3C-acl-ipv4-adv-3999]quit
1.5 防火墙配置SSL VPN实例
# 配置SSL VPN访问实例“SSLVPNSL”引用SSL VPN网关“SSLVPNGW”
[H3C] sslvpn context SSLVPN
[H3C-sslvpn-context-SSLVPN]gateway SSLVPNGW
#引用SSL VPN接口1
[H3C-sslvpn-context-SSLVPN] ip-tunnel interface SSLVPN-AC1
#引用SSL VPN地址池,掩码和dns
[H3C-sslvpn-context-SSLVPN]ip-tunnel address-pool SSLPOOL mask 255.255.255.0
[H3C-sslvpn-context-SSLVPN]ip-tunnel dns-server primary 114.114.114.114
#创建路由列表“NEIWANG”,添加路由表项192.168.20.0/24
[H3C-sslvpn-context-SSLVPN] ip-route-list NEIWANG
[H3C-sslvpn-context-SSLVPN-route-list-NEIWANG] include 192.168.20.0 255.255.255.0
# 创建SSL VPN策略组“SSLVPNZIYUAN”,引用路由列表“NEIWANG”,配置ACL限制,只有通过ACL检查的报文才可以访问IP资源
[H3C-sslvpn-context-SSLVPN] policy-group SSLVPNZIYUAN
[H3C-sslvpn-context-SSLVPN-policy-group-SSLVPNZIYUAN]filter ip-tunnel acl 3999
[H3C-sslvpn-context-SSLVPN-policy-group-SSLVPNZIYUAN]ip-tunnel access-route ip-route-list NEIWANG
1.6 新建SSL VPN拨号用户,关联SSL VPN策略组
#创建SSLVPN本地用户,配置用户名密码user1,服务类型sslvpn,引用之前创建的SSLVPN资源组1
[H3C]local-user user1 class network
[H3C-luser-network-user1]password simple user1
[H3C-luser-network-user1]service-type sslvpn
[H3C-luser-network-user1]authorization-attribute sslvpn-policy-group SSLVPNZIYUAN
[H3C-luser-network-user1]quit
1.7 将SSL VPN端口加入安全域,放通对应安全策略
#新建安全域,名称为“SSLVPN”,将SSL VPN端口1加入到安全域“SSLVPN”
[H3C]security-zone name SSLVPN
[H3C-security-zone-SSLVPN]import interface SSLVPN-AC1
[H3C-security-zone-SSLVPN]quit
#创建服务对象组,组名称为14433,匹配SSLVPN端
[H3C]object-group service 14433
[H3C-obj-grp-service-14433]service tcp destination eq 14433
[H3C-obj-grp-service-14433]quit
#配置配置安全策略将Untrust到Local域目的端口为TCP14433端口放通
[H3C]security-policy ip
[H3C-security-policy-ip]rule 5 name Untrst-Local
[H3C-security-policy-ip-5-Untrst-Local]action pass
[H3C-security-policy-ip-5-Untrst-Local]source-zone Untrust
[H3C-security-policy-ip-5-Untrst-Local]destinat1ion-zone Local
[H3C-security-policy-ip-5-Untrst-Local]service 14433
[H3C-security-policy-ip-5-Untrst-Local]quit
#配置配置安全策略,放通源安全域为SSLVPN,目前安全域为“Trust”的数据流量
[H3C-security-policy-ip]rule 10 name SSLVPN-Trust
[H3C-security-policy-ip-10-SSLVPN-Trust] action pass
[H3C-security-policy-ip-10-SSLVPN-Trust] source-zone SSLVPN
[H3C-security-policy-ip-10-SSLVPN-Trust] destination-zone Trust
[H3C-security-policy-ip-10-SSLVPN-Trust]quit
#输入SSLVPN网关地址加端口,输入用户名密码点击连接
拨号成功后获取到SSLVPN地址池中IP地址
#此时这个终端可以访问内网192.168.20.0段的资源。
save force
1、本案例适应的是默认证书,不需要手工导入CA证书和本地正常
2、不需要配置SSL服务器端策略,SSLVPN网关不需要引用SSL服务器端策略
3、交换机上需要将对应的流量通过策略路由形式引到防火墙进行处理,以免数据来回路径不一致.
(1)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论