当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : pptp VPN连接不上.
帖子发表于 : 2010-07-18 11:03 

注册: 2007-04-21 13:05
帖子: 94
送出感谢: 0 次
接收感谢: 0 次
大家帮我看下,服务端
代码:
Jul 18 02:33:18 xen pptpd[2429]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jul 18 02:33:18 xen pptpd[2429]: CTRL: local address = 172.16.254.1
Jul 18 02:33:18 xen pptpd[2429]: CTRL: remote address = 172.16.254.100
Jul 18 02:33:18 xen pptpd[2429]: CTRL: pppd options file = /etc/ppp/pptpd-options
Jul 18 02:33:18 xen pptpd[2429]: CTRL: Received PPTP Control Message (type: 1)
Jul 18 02:33:18 xen pptpd[2429]: CTRL: Made a START CTRL CONN RPLY packet
Jul 18 02:33:18 xen pptpd[2429]: CTRL: I wrote 156 bytes to the client.
Jul 18 02:33:18 xen pptpd[2429]: CTRL: Sent packet to client
Jul 18 02:33:19 xen pptpd[2429]: CTRL: Received PPTP Control Message (type: 7)
Jul 18 02:33:19 xen pptpd[2429]: CTRL: Set parameters to 10000000 maxbps, 3 window size
Jul 18 02:33:19 xen pptpd[2429]: CTRL: Made a OUT CALL RPLY packet
Jul 18 02:33:19 xen pptpd[2429]: CTRL: pty_fd = 6
Jul 18 02:33:19 xen pptpd[2429]: CTRL: tty_fd = 7
Jul 18 02:33:19 xen pptpd[2430]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Jul 18 02:33:19 xen pptpd[2430]: CTRL (PPPD Launcher): local address = 172.16.254.1
Jul 18 02:33:19 xen pptpd[2430]: CTRL (PPPD Launcher): remote address = 172.16.254.100
Jul 18 02:33:19 xen pptpd[2429]: CTRL: I wrote 32 bytes to the client.
Jul 18 02:33:19 xen pptpd[2429]: CTRL: Sent packet to client
Jul 18 02:33:20 xen pptpd[2429]: CTRL: Reaping child PPP[2430]
Jul 18 02:33:20 xen pptpd[2429]: CTRL: Exiting now
Jul 18 02:33:20 xen pptpd[2428]: MGR: Reaped child 2429


客户端:
代码:
Jul 18 10:57:21 arch NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jul 18 10:57:21 arch NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 4212
Jul 18 10:57:21 arch NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Jul 18 10:57:21 arch NetworkManager: <info>  VPN plugin state changed: 1
Jul 18 10:57:21 arch NetworkManager: <info>  VPN plugin state changed: 3
Jul 18 10:57:21 arch NetworkManager: <info>  VPN connection 'vpn_pptp' (Connect) reply received.
Jul 18 10:57:21 arch pppd[4214]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Jul 18 10:57:21 arch pppd[4214]: pppd 2.4.5 started by root, uid 0
Jul 18 10:57:21 arch pppd[4214]: Using interface ppp0
Jul 18 10:57:21 arch pppd[4214]: Connect: ppp0 <--> /dev/pts/2
Jul 18 10:57:21 arch pptp[4216]: nm-pptp-service-4212 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jul 18 10:57:22 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jul 18 10:57:22 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jul 18 10:57:22 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 256).
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Jul 18 10:57:23 arch pptp[4220]: nm-pptp-service-4212 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jul 18 10:57:23 arch pppd[4214]: Modem hangup
Jul 18 10:57:23 arch pppd[4214]: Connection terminated.
Jul 18 10:57:23 arch NetworkManager: <info>  VPN plugin failed: 1
Jul 18 10:57:23 arch pppd[4214]: Exit.
Jul 18 10:57:23 arch NetworkManager: <info>  VPN plugin failed: 1
Jul 18 10:57:23 arch NetworkManager: <info>  VPN plugin state changed: 6
Jul 18 10:57:23 arch NetworkManager: <info>  VPN plugin state change reason: 0
Jul 18 10:57:23 arch NetworkManager: <WARN>  connection_state_changed(): Could not process the request because no VPN connection was active.
Jul 18 10:57:23 arch NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.


_________________
http://www.wangtianqi.com


页首
 用户资料  
 
2 楼 
 文章标题 : Re: pptp VPN连接不上.
帖子发表于 : 2010-07-23 12:51 

注册: 2007-04-21 13:05
帖子: 94
送出感谢: 0 次
接收感谢: 0 次
自己顶下~


_________________
http://www.wangtianqi.com


页首
 用户资料  
 
3 楼 
 文章标题 : Re: pptp VPN连接不上.
帖子发表于 : 2010-10-19 0:43 

注册: 2010-10-19 0:40
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
hi~兄弟……我也是和你一样的问题……结果终于解决啦……^_^
上了个国外网站获得了灵感 http://url.cn/4I59Oj …首先要在路由打开DMZ映射,然后在高级设置里把MMPE打上钩
很多人没吧MMPE打勾……我这样就连上了 :em11


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译