joy-sky 2012-5-27 05:43
提取Shellfire VPN中的免费openvpn配置文件
Shellfire VPN提供德国免费openvpn服务,无使用时间和流量限制,限速384k,用来浏览网页没有问题,看youtube 240p不卡。
下载地址:[url]https://www.shellfire.de/download/ShellfireVPN-2.1-install.exe[/url]
使用教程:[url=http://igfw.net/archives/4084]http://igfw.net/archives/4084[/url] (由于被GFW封锁全程需在VPN下操作,包括安装软件)
安装软件后注册帐号,激活帐号后登录软件,然后选择免费服务器连接(有两个免费VPN服务器,一个可以udp连接、一个可以tcp连接,两个服务器连接证书也不同)。
[url=http://igfw.net/archives/9283]
[img]http://i.imgur.com/Fo0YK.png[/img]
[/url]
连接时弹出广告窗口,等待60秒后开始连接,这时使用Process Explorer([url=http://download.sysinternals.com/files/ProcessExplorer.zip]点击下载[/url])查看openvpn.exe进程(如果没有,稍等一会应该会出现),在此进程上右键选“Properties”点击,在打开的窗口里复制“Command line”下面的命令。
[url=http://igfw.net/archives/9283]
[img]http://i.imgur.com/MIzfI.png[/img]
[/url]
命令内容如下:
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为一组数字,各帐号不同),配置文件可修正如下:
clientdev tunproto tcpremote xxxxxxxxxxxxx 443resolv-retry infinitenobindpersist-keypersist-tunca ca.crtcert sfxxxxxx.crtkey sfxxxxxx.keycomp-lzoverb 3route-method exeroute-delay 2cipher AES-128-CBCredirect-gateway def1:
记事本新建文本文件,粘贴如上内容(其中xxx需按具体情况修改),重命名.txt为.ovpn。现在即可关闭VPN卸载Shellfire VPN软件。将.ovpn文件与ca.crt、sfxxxxx.crt、sfxxxxx.key同放置在OpenVPN软件([url=http://swupdate.openvpn.org/community/releases/openvpn-2.2.2-install.exe]点击下载[/url])安装目录下的config文件夹内,运行OpenVPN软件连接成功即可翻墙(依据此类方法一般大多数类似基于openvpn的VPN客户端都可以提取openvpn配置文件)。