How to access Facebook and Youtube from China

If you live in China you will no doubt already know that Facebook, Youtube, Twitter and many other sites are all blocked. Normally you would pay for a VPN service to tunnel out from the Chinese firewall (also know as the the Great Firewall GFW), you could use a proxy site such as vtunnel, or you would use a free program like freegate or ultrasurf.

The problem with a VPN is that you have to pay for it and many of the VPN sites are blocked from within China, so you can’t even access them in the first place! The free programs tend to be quite unstable and the speeds are slow and you have no idea what information the free proxy sites are logging, they could very easily be recording all your passwords.

I recently discovered how to set up my own safe and secure private proxy server for free, on Google’s servers using a script called GoAgent. It is very easy to setup and if you follow the instructions correctly, it should take you no longer than 10 minutes to get up and running!

I have made a video guide of how to do set this up, you might find it easier to follow than the written guide below.

Watch it on Youtube / Youku.

First of all we are setting this up using a Windows based computer. You will need to have a Gmail account already set up and the Google Chrome browser already installed.

Now lets get started!

Go to Google app engine and sign in with your Gmail account https://appengine.google.com now click Create Application.

Choose your country and enter your mobile phone number and hit confirm. You can choose sms or call verification. Enter verification code and hit Verify.

Now you create your Application. You need to enter a unique name for the Application Identifier, the Application Title can be anything you want. You do not need to touch any other settings on this page, just tick I accept these terms and click Create Application.

You should have successfully created a Google application! Click on the dashboard link on this page, we will come back to this later.

Download the latest version of GoAgent here:

Click here to download.

Unzip the file you just downloaded, open the folder and then open the folder “local”. Now open the file “proxy.ini” in notepad.

On line 8 where it says:

appid = goagent

You need to delete “goagent” and enter the Application ID you entered earlier for your Google app, now save the file.

Go up one folder and then go into the “server” folder, run the file “upload.bat”

It will ask you for your “APPID:” enter your Google App ID and hit enter. It will then ask for your email address, enter the Gmail address that you used to create your App ID and hit enter. Enter the password for this account and hit enter.

Wait for the window to upload the files, when it is done it will display a line of strange characters at the bottom.

Now if you go back to your Google App dashboard, you should see that some stuff has been populated! This means that you have successfully deployed GoAgent to your Google App server and you have a working proxy server :) !

But how do you use it?

In Google Chrome, download the extension SwitchySharp and install it. Once it’s installed the options page for it should pop up, click on the “Import/Export” tab and then in the bottom section click on “Restore from File”. A new window will pop up for you to find our SwitchySharp options, you need to navigate to the folder where you downloaded GoAgent, go into the local folder and select SwitchyOptions.bak then click “Open”.

SwitchySharp should have just imported some profiles to use with your GoAgent server.

Now go back to your GoAgent folder on your computer, in the “local” folder run the file “goagent.exe” you should see a little icon appear in your task bar, this means that GoAgent is active on your computer.

In Chrome, click on the little globe icon for SwitchySharp and select GoAgent, the globe should change colour to blue.

Now try going to Facebook.com and it should work!

To stop using your proxy, simply click on the globe in Chrome and select “direct connection”. If you need to restart your computer, just run the “goagent.exe” file again and set your Chrome to use “GoAgent” again. Simple!

If this worked for you, go ahead and tell your friends about it!

I will be writing a guide to use GoAgent with Macs, iPhone, iPad and Andoid phones soon.

If you had a problem getting it to work, make sure you take a look at the video guide I have made first before posting a question.

Watch the guide on Youtube / Youku.