设为首页收藏本站language 语言切换
查看: 1671|回复: 4
收起左侧

[原创] IPSec VPN 大家帮忙看看哪里出问题了

[复制链接]
发表于 2019-11-27 22:26:07 | 显示全部楼层 |阅读模式

sy
sy ISP
int g0/0/0
ip add 12.0.0.1 24
int g0/0/1
ip add 13.0.0.1 24
q




sy
sy NJ
dhcp en
acl 3000
rule deny ip de 192.168.20.0 0.0.0.255
rule permit ip
acl 3001
rule permit ip de 192.168.20.0 0.0.0.255
q
int g0/0/1
ip add 12.0.0.2  24
nat outbound 3000
int g0/0/0
ip add 192.168.10.254 24
dhcp sel int
q
ip route-static 0.0.0.0 0 12.0.0.1
ike proposal 1
authentication-algorithm SM3
authentication-method pre-share
encryption-algorithm aes-cbc-256
dh group14
ipsec proposal NJ
encapsulation-mode tunnel
transform esp
esp authentication-algorithm sha2-256
esp encryption-algorithm aes-256
ike peer NJ v1
ike-proposal 1
pre-shared-key cipher ysl
exchange-mode main
local-address  12.0.0.2
remote-address 13.0.0.3
ipsec policy NJ 10 isakmp
ike-peer NJ
proposal NJ
sec acl 3001
q
int g0/0/1
ipsec policy NJ
q






sy
sy GZ
dhcp en
acl 3000
rule deny ip de 192.168.10.0 0.0.0.255
rule permit ip
acl 3001
rule permit ip de 192.168.10.0 0.0.0.255
q
int g0/0/0
ip add 13.0.0.3  24
nat outbound 3000
int g0/0/1
ip add 192.168.20.254 24
dhcp sel int
q
ip route-static 0.0.0.0 0 13.0.0.1
ike proposal 1
authentication-algorithm SM3
authentication-method pre-share
encryption-algorithm aes-cbc-256
dh group14
ipsec proposal GZ
encapsulation-mode tunnel
transform esp
esp authentication-algorithm sha2-256
esp encryption-algorithm aes-256
ike peer GZ v1
ike-proposal 1
pre-shared-key cipher ysl
exchange-mode main
local-address 13.0.0.3
remote-address 12.0.0.2
ipsec policy GZ 10 isakmp
ike-peer GZ
proposal GZ
sec acl 3001
q
int g0/0/0
ipsec policy GZ
q


实验拓扑图

实验拓扑图
 楼主| 发表于 2019-11-27 22:28:46 | 显示全部楼层
我是新手,各位大佬前来指导
沙发 2019-11-27 22:28:46 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 14:45 , Processed in 0.058030 second(s), 14 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表