Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPN 搭建 #87

Open
1c7 opened this issue Nov 13, 2015 · 0 comments
Open

VPN 搭建 #87

1c7 opened this issue Nov 13, 2015 · 0 comments

Comments

@1c7
Copy link
Owner

1c7 commented Nov 13, 2015

写点搭建 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 因为用的人多,而且翻墙的多所以慢了,建议弄个国内跳板比如阿里云青云再连到国外服务器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant