前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >H3C IPSEC OVER GRE

H3C IPSEC OVER GRE

作者头像
py3study
发布2020-01-14 10:06:53
7900
发布2020-01-14 10:06:53
举报
文章被收录于专栏:python3
代码语言:javascript
复制
##### Route A ###################################
interface Tunnel 0 mode gre
 ip address 10.254.1.2255.255.255.252
 source 2.2.2.2
 destination 6.6.6.6
 ipsec apply policy 3100
#
acl advanced 3100
 description IPSEC OVER GRE
 rule 10 permit ip source 172.23.0.0 0.0.255.255 destination 172.21.0.0 0.0.255.255
#
ipsec transform-set 3100
 esp encryption-algorithm 3des-cbc 
 esp authentication-algorithm sha1 
#
ipsec policy 3100 1 isakmp
 transform-set 3100
 security acl 3100
 ike-profile 3100
 remote-address 10.254.1.1
#
ike profile 3100
 keychain 3100
 exchange-mode aggressive
 match remote identity address 10.254.1.1 255.255.255.252
 proposal 3100
#
ike proposal 3100
#
ike keychain 3100
 pre-shared-key address 10.254.1.1 0.0.0.0 key simple 8D3.qCeP
#
ip route-static 172.21.0.0 16 Tunnel 0
#
security-zone name Untrust
 import interface Tunnel 0
 
##### Route B ################################### 
interface Tunnel 0 mode gre
 ip address 10.254.1.1 255.255.255.252
 source 6.6.6.6
 destination 2.2.2.2
 ipsec apply policy 3100
#
 ip route-static 172.23.0.016 Tunnel 0
#
acl advanced 3100
 description IPSEC OVER GRE
 rule 10 permit ip source 172.21.0.0 0.0.255.255 destination 172.23.0.0 0.0.255.255
#
ipsec transform-set 3100
 esp encryption-algorithm 3des-cbc 
 esp authentication-algorithm sha1 
#
ipsec policy 3100 1 isakmp
 transform-set 3100
 security acl 3100
 remote-address 10.254.1.2
 ike-profile 3100
#
ike profile 3100
 keychain 3100
 exchange-mode aggressive 
 match remote identity address 10.254.1.2 255.255.255.252
 proposal 3100
#
ike proposal 3100
#
ike keychain 3100
 pre-shared-key address 10.254.1.2 0.0.0.0 key simple 8D3.qCeP
#
security-zone name Untrust
  import interface Tunnel 0
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019/07/11 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档