- 1、本文档共8页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
配置如下:
SecpathB:
[H3C]disp cu
#
version 5.20, Release 5135
#
sysname H3C
#
undo voice vlan mac-address 00e0-bb00-0000
#
ike local-name zb
#
domain default enable system
#
dns resolve
dns server 8
#
port-security enable
#
undo alg dns
undo alg rtsp
undo alg h323
undo alg sip
undo alg sqlnet
undo alg pptp
undo alg ils
undo alg nbt
undo alg msn
undo alg qq
undo alg tftp
undo alg sccp
undo alg gtp
#
session synchronization enable
#
//对端IP地址之间建立隧道
acl number 3000
rule 0 permit ip source 55 destination 55
rule 5 permit ip source 55 destination 55
rule 10 deny ip
//指定IP地址可以通过NAT访问指定地址
acl number 3100
rule 0 deny ip source 55 destination 55
rule 2 permit ip source 55 destination 4 0
rule 4 permit ip source 55 destination 28 0
rule 6 permit ip source 55 destination 12 0
rule 10 deny ip
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
pki domain default
crl check disable
#
ike peer 1
exchange-mode aggressive
pre-shared-key cipher $c$3$RmA7r0O9p1dtNcU0588t7/O+C/NvZgyA
id-type name
remote-name fz
local-address 6
local-name zb
#
ipsec transform-set 1
encapsulation-mode tunnel
transform esp
esp authentication-algorithm md5
esp encryption-algorithm des
#
ipsec policy map1 10 isakmp
security acl 3000
ike-peer 1
transform-set 1
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$zLM0+AeTLSxIyJvo/P7Xg4tK8tXiPX4t
authorization-attribute level 3
service-type telnet
service-type web
#
cwmp
undo cwmp enable
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
ip address
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode route
#
interface GigabitEthernet0/3
port link-mode route
#
interface GigabitEthernet0/4
port link-mode route
nat outbound 3100
ip address 6 24
ipsec policy map1
#
vd Root id 1
#
zone name Management id 0
priority 10
文档评论(0)