设为首页收藏本站

美丽的网站-英华家电维修论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 581|回复: 0
打印 上一主题 下一主题

IP sec的VPN配置

[复制链接]
跳转到指定楼层
楼主
发表于 2011-3-28 10:30:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
左边的router:crypto isakmp policy 1hash md5authentication pre-sharecrypto isakmp key cisco123 address 202.96.15.88!crypto ipsec transform-set rtpset esp-des esp-md5-hmac!crypto map rtp 1 ipsec-isakmpset peer 202.96.15.88set transform-set rtpsetmatch address 102!inte***ce Ethernet0/0ip address 192.168.1.1 255.255.255.0no ip directed-broadcastip nat inside!inte***ce Ethernet0/1ip address 61.153.158.44 255.255.255.0no ip directed-broadcastip nat outsideno ip route-cacheno ip mroute-cachecrypto map rtpip nat inside source route-map nonat inte***ce Ethernet0/1 overloadip classlessip route 0.0.0.0 0.0.0.0 61.153.158.4x(网关)no ip http serveraccess-list 101deny ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255access-list 101 permit ip 192.168.1.0 0.0.0.255 anyaccess-list 102 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255route-map nonat permit 10match ip address 102右边的router:crypto isakmp policy 1hash md5authentication pre-sharecrypto isakmp key cisco123 address 61.153.158.44!crypto ipsec transform-set rtpset esp-des esp-md5-hmac!crypto map rtp 1 ipsec-isakmpset peer 61.153.158.44set transform-set rtpsetmatch address 102!inte***ce Ethernet0/0ip address 192.168.2.1 255.255.255.0no ip directed-broadcastip nat inside!inte***ce Ethernet0/1ip address 202.96.15.88 255.255.255.0no ip directed-broadcastip nat outsideno ip route-cacheno ip mroute-cachecrypto map rtpip nat insi      1/2 12下一页尾页
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|手机版|粤ICP备13038386号|粤ICP备13038386号|美丽的网站-英华家电维修论坛 ( 粤ICP备13038386号 )     站长邮箱 505966338@qq.com

GMT+8, 2025-6-29 15:58 , Processed in 0.144405 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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