Build Your Own Free Proxy with GAE

Google Tools Alan 11年前 (2013-01-13) 10306次浏览 0个评论 扫描二维码

Preparing for travelling is always a pain in the neck, but wait, are you done just by packing and booking flights and hotels? Certainly not for countries like China, Iran etc, cause you definelty don’t want to lose you social connection during the trip. But in some countries, you won’t get access to YouTube, Facebook, Twitter unless you have VPN or the like. There’re many proxies out there, for some you need to pay, and some are free, but you may find the pop-up ads to be annoying, so why don’t build your own VPN? Of course, it’s free, now all you need to have is a Gmail account, even you don’t, I believe it is a piece of cake for you to apply one.

So what next? Create a GAE(Google App Engine) account,all you need to do is log in tohttp://appengine.google.com/ with your gmail account:

1.You’ll see the following welcome page, click on “Create Application”Google App账户申请第一步

2.The second step is to verify your account, there’re  two options, I’d recommend you verify with text message, simply input your cellphone number and click on “Send Verification Code”Google App账户申请第2步

3.Fill in the 6-digit verification code you receive from Google, try go back to step 2 if you didn’t get the codeGoogle App账户申请第3步

4.Now you need to pick an ID for your application, can before applying, check the availability of the App ID, Google App账户申请第4步you’re gonna need it a couple of times in the following steps

Now you’ve created an application, we need to upload the code, before that, let’s make a few tweak to the code:

1.Download GoAgent, this should be the official site:Click to Download

Or you can download from the following place:Click to Download

2.Open proxy.ini under the folder “local” with a text editor such as Notepad,put the App ID you just used right after “appid = “, and click “Save修改proxy.ini文件

3.Open app.yaml under “server\python” with a text editor such as Notepad ,fill in the same App ID after “application: “, then save the file修改app.yaml文件

4.Double click uploader.bat within “server”, input App ID, Email etc as required, and click “Enter” or “Return”, now just wait till you see “Deployment successful”, ignore the following proxy.ini issue, since we’ve already done that

配置uploader.bat文件

5. Check if you’ve successfully uploaded the code by log in Google App Engine with the same account,you should find Current Version becomes 1Google App Engine后台查看

Congratulations! You’re almost there. If you’re a desktop user, go to Chrome we store and add Proxy SwitchySharp,  then download SwitchyOptions.bak, under the Import/Export tab, click on “Restore from file”, upload the SwitchyOptions.bak you just downloaded.

SwitchySharp导入导出

An icon looks like globe will be added to your browser, now you can click on GoAgent to use your own VPN(you’re supposed to open the proxy.exe file under “local” at the same time),choose “Direct Connection” when you don’t need to use the VPN.GoAgent开启

It can also be adopted on your smart phone, search for GAE代理(GAE Proxy) or download GAE代理_GAEProxy and extract the file then copy to your Android phone. Install the app, all you need to set is agent address and the port, the agent address is still your App ID, and the port is 8087, open the service when you want to use it.安卓手机GAE代理界面

喜欢 (0)
[]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址