文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 专题 求职 读书
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 思科技术 » cisco pptp实用经典配置       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: [转载] cisco pptp实用经典配置  ( 查看:366  回复:2 )   
 
wenmin88888
初级工程师  点击可查看详细


帖子 955
精华 0
无忧币 5849
积分 3090
阅读权限 50
来自 (保密)
注册日期 2006-11-30
最后登录 2008-10-6 离线

[查看资料]  [发短消息]  [Blog
  QQ       
发表于:2007-7-23 11:06   标题:cisco pptp实用经典配置
上一帖 |
该配置可实现内网用户PAT访问internet;远程用户可通过PPTP接入内网并可通过内网访问internet .
  以下配置是我最近在实际中遇到的问题,在技术求助中也发过帖,但没找到解决方法,最近利用空闲分析了问题原因,最终还是解决掉了并已验证过没有问题。在实际中很多人会用windows2000 server来解决这个问题,这样比较简单,但是如果用单个路由器来解决的话,可能也会碰到类似问题,所以拿出来分享。

!
version 12.3
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
enable secret 5
username xxxx password 7
memory-size iomem 15
no network-clock-participate aim 0
no network-clock-participate aim 1
ip subnet-zero
ip cef
ip vrf test
!
no ip domain lookup
ip ips po max-events 100
vpdn enable
vpdn authen-before-forward
vpdn session-limit 10
!
vpdn-group 1
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
!
!
interface Loopback0
ip address 172.18.19.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0
no ip address
ip virtual-reassembly
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 172.18.17.1 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 3
ip address 172.18.18.207 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.4
encapsulation dot1Q 4
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.5
encapsulation dot1Q 5
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.7
encapsulation dot1Q 7
ip address 172.18.20.1 255.255.255.0
no cdp enable
!
interface FastEthernet0/1
ip address x.x.x.x 255.255.255.0
ip nat outside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed 10
!
interface Virtual-Template1
mtu 1300
ip unnumbered Loopback0
ip nat inside
ip virtual-reassembly
peer default ip address pool ever
ppp encrypt mppe 128
ppp authentication chap ms-chap
!
ip local pool ever 172.18.19.2 172.18.19.200
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.x.x
!
no ip http server
no ip http secure-server
ip nat pool mypool x.x.x.x x.x.x.x netmask 255.255.255.0
ip nat inside source list 1 pool mypool overload

access-list 1 permit 172.18.18.0 0.0.0.255
access-list 1 permit 172.18.19.0 0.0.0.255
access-list 1 permit 172.18.20.0 0.0.0.255



有志者!!!!!!!!事尽成!!!!!!!!
2007-7-23 11:061楼
[ 顶部 ]
 
wanghaoqd
副版主  点击可查看详细


十二生肖之鸡   双子座   行业勋章   技术勋章   诚信兄弟  
帖子 584
精华 0
无忧币 1408
积分 594
阅读权限 140
注册日期 2007-8-28
最后登录 2008-10-11 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2007-9-17 09:13 
好文章,很老但是很实用



QQ:11363600,MSN:wanghaoqd@hotmail.com
2007-9-17 09:132楼
[ 顶部 ]
 
prometheus~
新新人类  点击可查看详细



帖子 57
精华 0
无忧币 15
积分 58
阅读权限 20
注册日期 2007-10-21
最后登录 2007-11-30 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2007-11-4 14:57 
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
顶顶顶顶顶顶顶 顶顶顶顶顶顶顶顶顶顶顶 顶顶顶  顶顶顶顶顶
顶顶顶顶顶顶顶    顶顶顶顶顶顶顶顶 顶顶顶顶 顶顶顶顶顶
顶顶顶顶顶顶   顶顶顶顶顶顶顶顶顶顶 顶顶顶顶  顶顶顶顶
顶顶顶顶顶  顶顶顶顶顶顶顶顶顶顶顶顶顶 顶   顶顶 顶顶
顶顶顶  顶 顶顶顶顶顶顶顶顶顶顶顶  顶顶顶 顶顶   顶
顶顶顶顶顶顶 顶顶顶顶顶顶顶顶顶顶   顶顶顶   顶顶顶顶
顶顶顶顶顶   顶顶顶顶顶顶顶顶顶顶顶 顶  顶 顶顶顶顶顶
顶顶顶顶顶顶顶顶 顶顶顶顶顶顶顶顶顶顶  顶  顶   顶顶
顶顶顶   顶  顶顶顶顶顶顶顶顶顶顶 顶顶顶顶  顶顶顶顶
顶顶 顶顶   顶顶顶顶顶顶顶顶顶   顶   顶 顶顶顶顶
顶顶顶顶顶顶  顶顶顶顶顶顶顶顶顶 顶  顶顶 顶 顶顶顶顶
顶顶顶顶顶    顶顶顶顶顶顶顶 顶顶 顶顶顶顶顶 顶顶顶顶
顶顶顶顶  顶顶   顶顶顶顶顶 顶  顶顶 顶顶 顶顶顶顶
顶顶   顶顶顶顶    顶顶顶顶顶顶 顶顶顶   顶顶顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2007-11-4 14:573楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号