-
拓扑图

-
R1的配置
hostname R1
!
crypto isakmp key 12345 11.1.1.2 255.255.255.255
!
crypto isakmp policy 1
group 2
hash md5
!
crypto ipsec transform-set p2
transform-type esp-des esp-md5-hmac
!
crypto map VPN 0 ipsec-isakmp
set peer 11.1.1.2
set pfs group2
set transform-set p2
match address vpnacl
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
!
interface GigaEthernet0/3
ip address 11.1.1.1 255.255.255.0
no ip directed-broadcast
crypto map VPN
!
ip route default 11.1.1.2
!
ip access-list extended vpnacl
permit ip 192.168.1.0 255.255.255.0 10.135.101.0 255.255.255.0
! -
R2的配置
hostname R2
!
crypto isakmp key 12345 11.1.1.1 255.255.255.255
!
crypto isakmp pol
[简简单单]神州数码路由器实现IPSec
最新推荐文章于 2025-04-28 14:49:52 发布
本文详细介绍了如何在路由器R1和R2上配置IPSec隧道,包括ISAKMP密钥交换、策略设置、IPSec转换集、访问控制列表及路由配置,确保两个不同网络间的数据加密传输。

最低0.47元/天 解锁文章
2509

被折叠的 条评论
为什么被折叠?



