2012年5月11日星期五

[GFW BLOG(功夫网与翻墙)] 提取Shellfire VPN中的免费openvpn配置文件

原文:http://igfw.net/archives/9283

Shellfire VPN提供德国免费openvpn服务,无使用时间和流量限制,限速384k,用来浏览网页没有问题,看youtube 240p不卡。

下载地址:https://www.shellfire.de/download/ShellfireVPN-2.1-install.exe

使用教程:http://igfw.net/archives/4084 (由于被GFW封锁全程需在VPN下操作,包括安装软件)

安装软件后注册帐号,激活帐号后登录软件,然后选择免费服务器连接(有两个免费VPN服务器,一个可以udp连接、一个可以tcp连接,两个服务器连接证书也不同)。

连接时弹出广告窗口,等待60秒后开始连接,这时使用Process Explorer(点击下载)查看openvpn.exe进程(如果没有,稍等一会应该会出现),在此进程上右键选“Properties”点击,在打开的窗口里复制“Command line”下面的命令。

命令内容如下:

openvpn\openvpn.exe –client –service ShellfireVPN2ExitEvent 0 –dev tun –proto tcp –remote xxxxxxxxxx 443 –resolv-retry infinite –nobind –persist-key –persist-tun –ca “C:\Documents and Settings\Administrator\Application Data\ShellfireVPN\ca.crt” –cert “C:\Documents and Settings\Administrator\Application Data\ShellfireVPN\sfxxxxx.crt” –key “C:\Documents and Settings\Administrator\Application Data\ShellfireVPN\sfxxxxx.key” –comp-lzo –verb 3 –route-method exe –route-delay 2 –cipher AES-128-CBC –redirect-gateway def1

从以上内容即可看出openvpn配置及证书位置,依据其中位置(C:\Documents and Settings\Administrator\Application Data\ShellfireVPN\文件夹下)找到证书(ca.crt、sfxxxxx.crt、sfxxxxx.key,其中xxxxx为一组数字,各帐号不同),配置文件可修正如下:

client
dev tun
proto tcp
remote xxxxxxxxxxxxx 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert sfxxxxxx.crt
key sfxxxxxx.key
comp-lzo
verb 3
route-method exe
route-delay 2
cipher AES-128-CBC
redirect-gateway def1:

记事本新建文本文件,粘贴如上内容(需按具体情况修改),重命名.txt为.ovpn。现在即可关闭VPN卸载Shellfire VPN软件。将.ovpn文件与ca.crt、sfxxxxx.crt、sfxxxxx.key同放置在OpenVPN软件(点击下载)安装目录下的config文件夹内,运行OpenVPN软件连接成功即可翻墙(依据此类方法一般大多数类似基于openvpn的VPN客户端都可以提取openvpn配置文件)。

本文原始地址http://igfw.net/archives/9283



--
Posted By GFW BLOG 功夫网与翻墙 to GFW BLOG(功夫网与翻墙) at 5/11/2012 09:46:00 AM

--
1、翻墙利器赛风3下载地址: http://dld.bz/caonima326http://dld.bz/caonima745/
2、我们的订阅地址:http://feeds2.feedburner.com/chinagfwblog
3、停止订阅,请发邮件到
gfw-blog+unsubscribe@googlegroups.com
翻越防火长城,你可以到达世界上的每一个角落。(Across the Great Firewall, you can reach every corner in the world.)

没有评论:

发表评论