设为首页收藏本站

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 410|回复: 0

Cisco 路由器 配置PPTP VPN

[复制链接]
发表于 2013-9-5 08:42:04 | 显示全部楼层 |阅读模式
Cisco 路由器配置 PPTP VPN

实验过程:

第一步 R1预配置
  1. R1(config)#int e1/0

  2. R1(config-if)#ip add 192.168.1.200 255.255.255.0

  3. R1(config-if)#no sh

  4. R1(config-if)#exit
复制代码
第二步 在R1上创建 Virtual-Template
  1. R1(config)#int virtual-template 1

  2. R1(config-if)#ppp authentication ?

  3.     chap            Challenge Handshake Authentication Protocol (CHAP)
  4.     eap              Extensible Authentication Protocol (EAP)
  5.     ms-chap      Microsoft Challenge Handshake Authentication Protocol (MS-CHAP)
  6.     ms-chap-v2 Microsoft CHAP V
  7.     ersion 2       (MS-CHAP-V2)
  8.     pap             Password Authentication Protocol (PAP)
  9. // 选择PPP认证的种类

  10. R1(config-if)#ppp authentication ms-chap
  11. // 配置PPP认证使用MS-CHAP

  12. R1(config-if)#ip add 172.16.0.1 255.255.255.0
  13. // 配置虚模板的IP地址

  14. R1(config-if)#peer default ip address pool VPNDHCP
  15. R1(config-if)#exit
复制代码
第三步 配置Local地址池
  1. R1(config)#ip local pool VPNDHCP 172.16.0.100 172.16.0.150
  2. R1(config)#exit
  3. R1#show ip local pool

  4. Pool          Begin              End              Free  In use Blocked
  5. VPNDHCP 172.16.0.100 172.16.0.150 51     0       0
复制代码
第四步 配置 VPDN
  1. R1(config)#vpdn enable
  2. R1(config)#vpdn-group 1
  3. R1(config-vpdn)#accept-dialin
  4. R1(config-vpdn-acc-in)#protocol pptp
  5. // 配置 VPDN 使用 PPTP协议


  6. R1(config-vpdn-acc-in)#virtual-template 1
  7. // 配置 VPDN 使用刚创建的虚模板

  8. R1(config-vpdn-acc-in)#exit
  9. R1(config-vpdn)#exit
复制代码
第五步 配置本地用户数据库
  1. R1(config)#username norvel password norvel
复制代码
第六步 在 Windows 创建 VPN 连接,在“控制面板”→“网络连接”

第七步 在“网络连接”→“文件”→“新建连接”

第八步 在“新建连接向导”点“下一步”

第九步 选择“连接到我的工作场所的网络”,点“下一步”

第十步 选择“虚拟专用网络连接”,点击“下一步”

第十一步 输入公司名后,点击“下一步”

第十二步 选择“不拨初始连接”,点击“下一步”

第十三步 输入VPN服务器的IP地址(R1的E1/0接口地址),点击“下一步”

第十四步 点击“完成”

第十五步 在用户名与密码中输入R1上配置的本地用户数据库

第十六步 点击“属性”,弹出属性对话框,选择“高级”,点击“设置”

第十七步 在“高级安全设置”中的数据加密选择不允许加密,点击“确定”

第十八步 点击“确定”,结束安全属性的修改

第十九步 再次打开连接,点击“连接”

第二十步 连接成功后,查看VPN的连接状态

第二十一步 在CMD中查看PPTP连接
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )  

GMT-8, 2025-8-26 11:14 , Processed in 0.013982 second(s), 17 queries .

Supported by Best Deal Online X3.5

© 2001-2025 Discuz! Team.

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