pptp VPN连接不上.

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
czyhd
帖子: 94
注册时间: 2007-04-21 13:05

pptp VPN连接不上.

#1

帖子 czyhd » 2010-07-18 11:03

大家帮我看下,服务端

代码: 全选

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.
czyhd
帖子: 94
注册时间: 2007-04-21 13:05

Re: pptp VPN连接不上.

#2

帖子 czyhd » 2010-07-23 12:51

自己顶下~
SilentNocturne
帖子: 1
注册时间: 2010-10-19 0:40

Re: pptp VPN连接不上.

#3

帖子 SilentNocturne » 2010-10-19 0:43

hi~兄弟……我也是和你一样的问题……结果终于解决啦……^_^
上了个国外网站获得了灵感 http://url.cn/4I59Oj …首先要在路由打开DMZ映射,然后在高级设置里把MMPE打上钩
很多人没吧MMPE打勾……我这样就连上了 :em11
回复