V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zs  ›  全部回复第 4 页 / 共 4 页
回复总数  68
1  2  3  4  
2014-06-21 18:58:10 +08:00
回复了 zs 创建的主题 问与答 环境 ubuntu12.04 连接 linode 的 VPN 问题
@billlee 最后看到这个[帖子](http://blog.chinaunix.net/uid-761145-id-127470.html)客户端的mtu改为1500 就好了.... `sudo ifconfig wlan0 1500`
2014-06-21 09:54:17 +08:00
回复了 zs 创建的主题 问与答 环境 ubuntu12.04 连接 linode 的 VPN 问题
@billlee 我试着将wlan0 的MTU改到900/1200, 打开国内的网站可以,但是用wireshark看了下很多`[TCP previous segment lost] Continuation or non-http traffic `此类错误,导致打开网页很慢,或者根本打不开。 打开敏感网站, 浏览器直接显示无法连接, 在 wireshark 里根本看不到请求..., 当然此时还是可以Ping得通敏感网站, 比如某book.com (平均500ms)
2014-06-20 23:51:58 +08:00
回复了 zs 创建的主题 问与答 环境 ubuntu12.04 连接 linode 的 VPN 问题
@billlee 服务器是PPTP的, 配置如图


http://ww2.sinaimg.cn/mw690/a125fefajw1ehl0iuc4cvj20750cnaai.jpg

ubuntu系统的log我是通过

`tail -f /var/log/syslog | grep pptp` 得到的log 不知道行不行


```
----------------- 启动VPN
Jun 20 23:26:39 NetworkManager[973]: <info> Starting VPN service 'pptp'...
Jun 20 23:26:39 NetworkManager[973]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 4856
Jun 20 23:26:39 NetworkManager[973]: <info> VPN service 'pptp' appeared; activating connections
Jun 20 23:26:39 pppd[4860]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Jun 20 23:26:39 pptp[4862]: nm-pptp-service-4856 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 20 23:26:40 pptp[4875]: nm-pptp-service-4856 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 20 23:26:40 pptp[4875]: nm-pptp-service-4856 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun 20 23:26:40 pptp[4875]: nm-pptp-service-4856 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun 20 23:26:41 pptp[4875]: nm-pptp-service-4856 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 20 23:26:41 pptp[4875]: nm-pptp-service-4856 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jun 20 23:26:41 pptp[4875]: nm-pptp-service-4856 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 4736).

--------用浏览器打开网页 1


Jun 20 23:27:41 pptp[4875]: nm-pptp-service-4856 log[logecho:pptp_ctrl.c:677]: Echo Request received.
Jun 20 23:27:41 pptp[4875]: nm-pptp-service-4856 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 6 'Echo-Reply'
Jun 20 23:27:42 pptp[4875]: nm-pptp-service-4856 log[logecho:pptp_ctrl.c:677]: Echo Reply received.
Jun 20 23:28:21 pptp[4862]: nm-pptp-service-4856 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
Jun 20 23:28:21 pptp[4875]: nm-pptp-service-4856 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Jun 20 23:28:21 pptp[4875]: nm-pptp-service-4856 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jun 20 23:28:21 pptp[4875]: nm-pptp-service-4856 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun 20 23:28:27 NetworkManager[973]: <info> VPN service 'pptp' disappeared
```
1  2  3  4  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2379 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 06:50 · PVG 14:50 · LAX 23:50 · JFK 02:50
Developed with CodeLauncher
♥ Do have faith in what you're doing.