Windows Azure 搭建 Open VPN

Posted by 冰河 at 00:46 No Responses » 10,386 Views
072015

iPhone上的Gmail是彻底不能用了。之前在VPS上安装过openvpn和l2tp/pptp,也在Azure上安装过VPN,都不太顺利。今天突然发现Github上有个Open VPN的项目,基于https的SSTP协议,可以顺利的在Azure上搭建VPN。

作者英文教程:http://azure-openvpn.github.io/

详细中文教程:http://www.cnblogs.com/sun8134/p/3457778.html,Linux部分适用于Ubuntu。Centos参考:http://www.cnblogs.com/shanyou/p/4020777.html

需要注意的是安装结束一定要看到如下提示,否则使用/usr/local/openvpn_as/bin/ovpn-init重新配置。

Admin  UI: https://100.80.14.45:943/admin
Client UI: https://100.80.14.45:943/

282012

安装OpenVPN需要主机支持tun,安装PPTP需要主机支持tun和ppp。

首先要检测你的VPS是否开启了TUN和PPP,联系你的服务器提供商,直接询问。如果没有开启,可以要求他们开启。

自行检测的方法:

检测TUN

cat /dev/net/tun

返回:

cat: /dev/net/tun: File descriptor in bad state 说明正常

检测是支持PPP模块

cat /dev/ppp

返回:

cat: /dev/ppp: No such device or address 说明正常 Continue reading »

© 2009 - 2024 冰河的博客