|
|
http://itshidden.com/
这个用的是networkmanager-pptp来连接的,协议是MSCHAPSv2,压缩方式是MPPE。但是就是连不上,而在Windows下是可以的。
诡异的是,用ifconfig查看,本地IP和远端IP是一样的,而且CPU占用率极高。
- ppp0 Link encap:Point-to-Point Protocol
- inet addr:192.168.2.107 P-t-P:192.168.2.107 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
- RX packets:6 errors:0 dropped:0 overruns:0 frame:0
- TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:84 (84.0 B) TX bytes:84 (84.0 B)
复制代码
在/var/log/messages留下了这样的信息:
- Aug 26 02:14:58 cell1 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
- Aug 26 02:14:58 cell1 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 4355
- Aug 26 02:14:58 cell1 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
- Aug 26 02:14:58 cell1 NetworkManager: <info> VPN plugin state changed: 1
- Aug 26 02:14:58 cell1 NetworkManager: <info> VPN plugin state changed: 3
- Aug 26 02:14:58 cell1 NetworkManager: <info> VPN connection 'itshidden' (Connect) reply received.
- Aug 26 02:14:58 cell1 pppd[4360]: Plugin /usr/lib64/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
- Aug 26 02:14:58 cell1 pppd[4360]: pppd 2.4.4 started by root, uid 0
- Aug 26 02:14:58 cell1 pppd[4360]: Using interface ppp0
- Aug 26 02:14:58 cell1 pppd[4360]: Connect: ppp0 <--> /dev/pts/0
- Aug 26 02:14:59 cell1 pptp[4361]: nm-pptp-service-4355 log[main:pptp.c:310]: The synchronous pptp option is NOT activated
- Aug 26 02:14:59 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
- Aug 26 02:15:00 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
- Aug 26 02:15:00 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
- Aug 26 02:15:00 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
- Aug 26 02:15:01 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
- Aug 26 02:15:01 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 37376).
- Aug 26 02:15:03 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 2 (expecting 1, lost or reordered)
- Aug 26 02:15:03 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 3 (expecting 1, lost or reordered)
- Aug 26 02:15:03 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 4 (expecting 1, lost or reordered)
- Aug 26 02:15:03 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 6 (expecting 5, lost or reordered)
- Aug 26 02:15:03 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 8 (expecting 7, lost or reordered)
- Aug 26 02:15:03 cell1 pppd[4360]: CHAP authentication succeeded
- Aug 26 02:15:04 cell1 pptp[4361]: nm-pptp-service-4355 log[decaps_gre:pptp_gre.c:414]: buffering packet 11 (expecting 10, lost or reordered)
- Aug 26 02:15:04 cell1 pppd[4360]: MPPE 128-bit stateless compression enabled
- Aug 26 02:15:05 cell1 pppd[4360]: local IP address 192.168.2.107
- Aug 26 02:15:05 cell1 pppd[4360]: remote IP address 192.168.2.1
- Aug 26 02:15:05 cell1 pppd[4360]: primary DNS address 85.17.150.123
- Aug 26 02:15:05 cell1 pppd[4360]: secondary DNS address 83.149.80.123
- Aug 26 02:15:05 cell1 NetworkManager: <info> VPN connection 'itshidden' (IP Config Get) reply received.
- Aug 26 02:15:05 cell1 NetworkManager: <info> VPN Gateway: 0.0.0.0
- Aug 26 02:15:05 cell1 NetworkManager: <info> Tunnel Device: ppp0
- Aug 26 02:15:05 cell1 NetworkManager: <info> Internal IP4 Address: 192.168.2.107
- Aug 26 02:15:05 cell1 NetworkManager: <info> Internal IP4 Prefix: 32
- Aug 26 02:15:05 cell1 NetworkManager: <info> Internal IP4 Point-to-Point Address: 192.168.2.1
- Aug 26 02:15:05 cell1 NetworkManager: <info> Maximum Segment Size (MSS): 0
- Aug 26 02:15:05 cell1 NetworkManager: <info> Internal IP4 DNS: 85.17.150.123
- Aug 26 02:15:05 cell1 NetworkManager: <info> Internal IP4 DNS: 83.149.80.123
- Aug 26 02:15:05 cell1 NetworkManager: <info> DNS Domain: '(none)'
- Aug 26 02:15:05 cell1 NetworkManager: <info> Login Banner:
- Aug 26 02:15:05 cell1 NetworkManager: <info> -----------------------------------------
- Aug 26 02:15:05 cell1 NetworkManager: <info> (null)
- Aug 26 02:15:05 cell1 NetworkManager: <info> -----------------------------------------
- Aug 26 02:15:06 cell1 NetworkManager: <info> VPN connection 'itshidden' (IP Config Get) complete.
- Aug 26 02:15:06 cell1 NetworkManager: <info> Policy set 'itshidden' (ppp0) as default for routing and DNS.
- Aug 26 02:15:06 cell1 NetworkManager: <info> VPN plugin state changed: 4
- Aug 26 02:15:50 cell1 pppd[4360]: Terminating on signal 15
- Aug 26 02:15:50 cell1 pptp[4368]: nm-pptp-service-4355 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
- Aug 26 02:15:50 cell1 pptp[4368]: nm-pptp-service-4355 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
- Aug 26 02:15:50 cell1 pptp[4368]: nm-pptp-service-4355 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
- Aug 26 02:15:50 cell1 pppd[4360]: Connect time 0.8 minutes.
- Aug 26 02:15:50 cell1 pppd[4360]: Sent 639899839 bytes, received 0 bytes.
- Aug 26 02:15:50 cell1 pppd[4360]: Modem hangup
- Aug 26 02:15:50 cell1 pppd[4360]: Connection terminated.
- Aug 26 02:15:50 cell1 pppd[4360]: Exit.
- Aug 26 02:15:51 cell1 NetworkManager: <info> Policy set 'Manual eth0' (eth0) as default for routing and DNS.
复制代码
感觉是IP获取了,但是设置错了,这是怎么回事呢? |
|