这是配置
<ISP>dis cu
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 2.0.0.2 255.0.0.0
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 4.255.255.254 255.0.0.0
#
ip route-static 0.0.0.0 0 2.0.0.1
<R2>dis cu
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 2.0.0.1 255.0.0.0
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 1.255.255.254 255.0.0.0
#
ip route-static 0.0.0.0 0 2.0.0.2
<R1>
dis cu
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 192.168.2.1 255.255.255.0
#
interface GigabitEthernet0/2
port link-mode route
combo enable copper
ip address 3.0.0.1 255.0.0.0
nat outbound 2000
nat server global current-interface inside 192.168.2.2
#
ip route-static 0.0.0.0 0 3.0.0.2
#
acl basic 2000
rule 0 permit
<内网服务器>dis cu
#
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 10
combo enable fiber
#
interface Vlan-interface10
ip address 192.168.1.254 255.255.255.0
#
ip route-static 0.0.0.0 0 192.168.1.1
【防火墙]dis cu
interface NULL0
#
interface GigabitEthernet1/0/0
port link-mode route
combo enable copper
ip address 192.168.2.2 255.255.255.0
#
interface SSLVPN-AC1
ip address 10.10.10.1 255.255.255.0
#
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/0
#
security-zone name DMZ
#
security-zone name Untrust
#
security-zone name sslvpn
import interface SSLVPN-AC1
#
ip route-static 0.0.0.0 0 192.168.2.1
#
local-user wen class network
password cipher $c$3$jFL/KXIIZ7wtmYMCevAuS6LCP1BWjwqYeQ==
service-type sslvpn
authorization-attribute user-role network-operator
authorization-attribute sslvpn-policy-group ziyuan1
#
ip https port 8080
ip http enable
ip https enable
webui log enable
#
sslvpn ip address-pool pool1 10.10.10.50 10.10.10.100
#
sslvpn gateway wangguan1
ip address 192.168.2.2 port 4433
service enable
#
sslvpn context shili1
gateway wangguan1
ip-tunnel interface SSLVPN-AC1
ip-tunnel address-pool pool1 mask 255.255.255.0
ip-route-list ·½»»»»web
include 192.168.1.0 255.255.255.0
policy-group ziyuan1
ip-tunnel access-route ip-route-list ·½»»»»web
log user-login enable
log resource-access enable
service enable
#
security-policy ip
rule 0 name management-local
action pass
logging enable
counting enable
source-zone Management
destination-zone local
rule 1 name tr-local
action pass
logging enable
counting enable
source-zone Trust
destination-zone Local
rule 2 name sslvpn-trust
action pass
counting enable
source-zone sslvpn
destination-zone trust
rule 3 name trst-trust
action pass
counting enable
source-zone trust
destination-zone trust
rule 4 name sslvpn-local
action pass
source-zone sslvpn
destination-zone local
#
security-policy ipv6
#
return
可以参考配置指导:https://www.h3c.com/cn/d_201912/1249186_30005_0.htm