最佳答案
您好,Comware V7防火墙设备作为SSL VPN总部,客户PC通过iNode拨入,采用IP资源方式访问内网,采用本地认证方式认证。
1.F1020上SSL VPN相关配置
# 配置PKI域sslvpn
[F1020] pki domain sslvpn
[F1020-pki-domain-sslvpn] public-key rsa general name sslvpn
[F1020-pki-domain-sslvpn] undo crl check enable
[F1020-pki-domain-sslvpn] quit
# 导入CA证书ca.cer和服务器证书server.pfx
[F1020] pki import domain sslvpn der ca filename ca.cer
[F1020] pki import domain sslvpn p12 local filename server.pfx
# 配置SSL服务器端策略ssl
[F1020] ssl server-policy ssl
[F1020-ssl-server-policy-ssl] pki-domain sslvpn
[F1020-ssl-server-policy-ssl] ciphersuite rsa_aes_128_cbc_sha
[F1020-ssl-server-policy-ssl] quit
# 配置SSL VPN网关gw的IP地址为10.10.254.6,端口号为443,并引用SSL服务器端策略ssl
[F1020] sslvpn gateway gw //默认情况下端口号即为443
[F1020-sslvpn-gateway-gw] ip address 10.10.254.6
[F1020-sslvpn-gateway-gw] ssl server-policy ssl
# 开启SSL VPN网关gw
[F1020-sslvpn-gateway-gw] service enable
[F1020-sslvpn-gateway-gw] quit
# 创建地址池ippool,指定IP地址范围为2.2.2.2~2.2.5.254
[F1020] sslvpn ip address-pool ippool 2.2.2.2 2.2.5.254
# 创建SSL VPN AC接口1,配置接口的IP地址为2.2.2.1/22
[F1020] interface sslvpn-ac 1
[F1020-SSLVPN-AC1] ip address 2.2.2.1 22
[F1020-SSLVPN-AC1] quit
# 配置SSL VPN访问实例ctx引用SSL VPN网关gw
[F1020] sslvpn context ctx
[F1020-sslvpn-context-ctx] gateway gw
#创建路由列表rtlist,并添加路由表项192.168.5.0/24
[F1020-sslvpn-context-ctx] ip-route-list rtlist
[F1020-sslvpn-context-ctx-route-list-rtlist] include 192.168.5.0 255.255.255.0
[F1020-sslvpn-context-ctx-route-list-rtlist] quit
# 配置SSL VPN访问实例ctx引用SSL VPN AC接口1
[F1020-sslvpn-context-ctx] ip-tunnel interface sslvpn-ac 1
# 创建SSL VPN策略组pgroup,引用路由列表rtlist和地址池ippool,并且通过acl限制,保证只有通过ACL检查的报文才可以访问IP资源
[F1020-sslvpn-context-ctx] policy-group pgroup
[F1020-sslvpn-context-ctx-policy-group-pgroup] ip-tunnel address-pool ippool mask 255.255.252.0
[F1020-sslvpn-context-ctx-policy-group-pgroup] ip-tunnel access-route ip-route-list rtlist
[F1020-sslvpn-context-ctx-policy-group-pgroup] filter ip-tunnel acl 3000 //必配
[F1020-sslvpn-context-ctx-policy-group-pgroup] quit
# 开启SSL VPN访问实例ctx。
[F1020-sslvpn-context-ctx] service enable
[F1020-sslvpn-context-ctx] quit
#创建SSLVPN本地用户
local-user h3c class network
password cipher $c$3$UxwgdMpL62TJ3k1ftN3CAHz/CK73/uxD0A==
service-type sslvpn
authorization-attribute user-role network-operator
authorization-attribute sslvpn-policy-group pgroup
2.F1020上安全策略相关配置
# GigabitEthernet1/0/0、GigabitEthernet1/0/1加入Trust区域,SSLVPN-AC1加入SSLVPN区域,并放通策略。
#
security-zone name Trust
import interface GigabitEthernet1/0/0
import interface GigabitEthernet1/0/1
#
security-zone name SSLVPN
import interface SSLVPN-AC1
#
acl number 3000
rule 0 permit ip
#
acl number 3010
rule 0 permit ip source 2.2.2.2 0.0.3.255 destination 192.168.5.0 0.0.0.255
rule 5 permit ip source 192.168.5.0 0.0.0.255 destination 2.2.2.2 0.0.3.255
#
zone-pair security source SSLVPN destination Trust
packet-filter 3010
#
zone-pair security source Trust destination SSLVPN
packet-filter 3010
#
zone-pair security source Trust destination Local
packet-filter 3000
#
zone-pair security source Local destination Trust
packet-filter 3000
#
3.关键路由配置
F1020上配置到内网资源192.168.5.0/24的路由,下一跳为10.10.254.10
Switch上配置回程路由:
ip route-static 2.2.2.2 255.255.252.0 10.10.254.9
4.NAT-1设备上映射SSLVPN对外的地址及端口,此文档中映射10.10.254.6+TCP 443
5.验证
1.内网配置回程路由
2.SSLVPN-AC需加入安全区域并放通策略
3.policy-group视图下针对不同的接入资源配置acl:
filter ip-tunnel acl xx
filter web-access acl xx
filter tcp-access acl xx
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论