2011年5月31日星期二

[GFW BLOG(功夫网与翻墙)] 使用OpenVPN Access Server快速搭建个人的 VPN 服务

来源:http://igfw.tk/archives/3048

众所周知,OpenVPN(http://www.openvpn.net) 是比较著名的开源 VPN 软件,应该也有很多人使用过,虽然使用起来并不是很困难,但是,配置 VPN Server 的人应该会比较郁闷,太过繁琐复杂。对于像我这种懒人,只想用最快的时间搭建完成并且开始使用。。好在 OpenVPN 官方有一款收费的产品 Access Server,完全满足了我的需求。

  • 安装配置很简单,节约了很多的时间。
  • 两个免费的用户,完全够用了。

下面介绍下使用方法:dca501b7

到如下地址下载,对应你系统的版本

http://www.openvpn.net/index.php/access-server/download-openvpn-as-sw.html

 

 

 

 

以下以我的一个测试用 VPS 为例,系统是 CentOS 5 32位。

下载安装过程:

-----下载------- root@vps10410101 downloads]# wget -c http://swupdate.openvpn.net/as/openvpn-as-1.7.0-CentOS5.i386.rpm --2011-03-03 17:58:54--  http://swupdate.openvpn.net/as/openvpn-as-1.7.0-CentOS5.i386.rpm Resolving swupdate.openvpn.net... 173.192.224.174 Connecting to swupdate.openvpn.net|173.192.224.174|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 20573166 (20M) [application/x-redhat-package-manager] Saving to: `openvpn-as-1.7.0-CentOS5.i386.rpm' 100%[======================================>] 20,573,166   311K/s   in 69s 2011-03-03 18:00:04 (292 KB/s) - `openvpn-as-1.7.0-CentOS5.i386.rpm' saved [20573166/20573166] -----安装------- [root@vps10410101 downloads]# rpm -i openvpn-as-1.7.0-CentOS5.i386.rpm The Access Server has been successfully installed in /usr/local/openvpn_as Configuration log file has been written to /usr/local/openvpn_as/init.log Please enter "passwd openvpn" to set the initial administrative password, then login as "openvpn" to continue configuration here: https://[服务器IP]:943/admin To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool. Access Server web UIs are available here: Admin  UI: https://[服务器IP]:943/admin Client UI: https://[服务器IP]:943/

 

配置:
设置 OpenVPN 管理员密码:

[root@vps10410101 ~]# passwd openvpn Changing password for user openvpn. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully.

在浏览器打开 https://[服务器IP]:943/admin,登陆之后(用户名:openvpn,密码:之前设置的密码)进入管理界面,如下图:

具体就可以通过这个管理界面来配置了,不再赘述。

使用:

直接在浏览器打开 https://[服务器IP]:943/,并且以 connect 方式登陆,你会看到连接界面(如下图):选择你的系统下载客户端,或者直接下载配置文件(如果你本来就有 OpenVPN 的客户端的话)。

至此,你已经有了属于自己的VPN服务,关于客户端的使用不再赘述。

原文:http://www.nealmi.com/index.php/2011/03/openvpn-access-server-personal/

—————————————————————————————————————————

需要翻墙利器? 请安装Wuala,查找和添加gfwblog为好友,就可高速下载翻墙软件,或访问http://tinyurl.com/gfwblog直接下载。

推特用户请点击这里免翻墙上推特

请点击这里下载翻墙软件

更多翻墙方法请发电邮(最好用Gmail)到:fanqiang70ma@gmail.com

请阅读和关注中国数字时代翻墙技术博客GFW BLOG(免翻墙)

请使用Google Reader订阅中国数字时代中文版http://chinadigitaltimes.net/chinese/feed),阅读最有价值的中文信息;以及GFW BLOG(功夫网与翻墙)http://feeds2.feedburner.com/chinagfwblog,获取最新翻墙工具和翻墙技巧信息。




--
Posted By GFW BLOG 功夫网与翻墙 to GFW BLOG(功夫网与翻墙) at 5/31/2011 07:58:00 PM

--
1、我们的订阅地址:http://feeds2.feedburner.com/chinagfwblog。2、发一封标题为GFW的邮件到fanqiang70ma@gmail.com,就可获取翻墙利器赛风新地址。附《数字时代》赠阅版。3、本站热烈欢迎各位朋友投稿或推荐文章,请发邮件至chinagfwblog[at]gmail.com。
停止订阅,请发邮件到
gfw-blog+unsubscribe@googlegroups.com

没有评论:

发表评论