1c7 / VideoList

:us: -> :cn: @糖醋陈皮 翻译的视频列表
https://weibo.com/2004104451
57 stars 11 forks source link

VPN 搭建 #87

Open 1c7 opened 8 years ago

1c7 commented 8 years ago

写点搭建 VPN 时碰到的事情



Digital Ocean

结论

买了 5 美元的那个( 一个月 2TB 流量),根据网上的教程搭了个 PPTP。 速度太慢,受不了注销掉了。(没法删掉信用卡,只能把整个账户删掉)

过程

DO 官方有速度测试的: http://speedtest-ams1.digitalocean.com/ 我在广州,我这边是 (阿姆斯特丹) AMS 1 最快,Download 可以达到 20M, (伦敦) LON 1 排第二,17.91 M (新加坡) SGP 1 排第三, 16.60 M

我弄了个新加坡的 Ubuntu 15.04 按照网上的教程搞 pptpd 后来发现怎么都弄不成,连接不上,再后来开了调试模式发现提示 Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.5, this is 2.4.6 似乎是 Ubuntu15.04 引起的问题。 看下面两个网址,别人也遇到了这样的问题:
https://bugs.launchpad.net/ubuntu/+source/pptpd/+bug/1451419 http://askubuntu.com/questions/621820/pptpd-failed-after-upgrading-ubuntu-server-to-15

解决方案是运行这两条: $ sudo sed -i s/^logwtmp/#logwtmp/ /etc/pptpd.conf $ sudo systemctl restart pptpd



Linode

弄了 PPTPD,伦敦的和日本的节点都试了,很慢,不知道是不是姿势不对。

问了下人,说 DO 和 Linode 因为用的人多,而且翻墙的多所以慢了,建议弄个国内跳板比如阿里云青云再连到国外服务器