16 February 2012

How to Install GAppProxy Using Google App Engine



In my last post, I showed you how to Create a Free ProxyUsing Google Application Engine. GAppProxy is another proxy application that you can install with Google App Engine and use to surf the Internet anonymously or navigate to filtered or blocked websites. Follow these steps to know how to install and use this application:

Step 1
First you need to create a new application in AppEnginge.Google.Com, go to the URL address below and sign in to your account.



Step 2
In App Engine Page click on Create Application button. If it is your first time that you are creating an application in App Engine, then Google will first verify your account by sending an SMS to your mobile phone. Follow the instruction and verify your account.




Ste 3
After verifying your Google account, you will enter to the Create an Application site; choose a name (sub domain) for your application and click on the Check Availability button to see if it is available. After choosing a name for the application, submit an Application Title for it. As you can see in the image below, I have made csarchive-gappproxy for my application sub domain name and title CSArchive GAppProxy.



Step 4
You have to download and install Google App Engine SKD and Python on your system. To download follow the links below:

Google App Engine v1.6.2 (21.4Mb)


or download from the official website:

python-2.7.2 (14.8Mb)


or download from the official website:

After download is finished, extract the zip files and install them. The installation is very easy and only takes a few minutes.



Step 5
Go to the links below and download Local Proxy 2.0.0 Win and Uploader 2.0.0 Win:

Local Proxy 2.0.0 Win (2.4Mb)


or download from the official website:

Uploader 2.0.0 Win (2.4Mb)



or download from the official website:

Step 6
Open Uploader 2.0.0 file and double-click on uploader.exe. A Windows Command Prompt will be open that asks you to enter your application ID. The AppID is the name (sub domain name) that you have made for your application in step 3. Enter the application name in front of AppID and hit the Enter key. 


My application name is csarchive-gappproxy, so I entered csarchive-gappproxy.


Step 7
It will ask you for your email address, before enter your email address you need to create a new application specific password for your application. Go to your Google email account setting, select Authorising application & sites to edit (click on Edit) and verify you password.


Under the Enter a name to help you remember what application this is for, type the name of your Google application (sub domain) and click on Generate password.


Step 8
Go back to the Windows Command Prompt and now enter your email address and the new generated password. Wait till the uploader deploys the application. After it is finished, it will show you the message that new version is ready to start serving.



Step 9
Open your Internet browser and in the address bar type

http://your-app-sub-domain-name.appspot.com/fetch.py

Example:


If your application site opened, it means that it's deployed successfully, refer to the image below:


How to use GappProxy
After you fetch the application on Google App Engine, then you can use it to surf the Internet. Follow these steps:

Step 1
Open the Local Proxy 2.0.0 Win and right-click on Proxy.conf file. From the drop down menu select Open with and then open it with the Windows Notepad.


Step 2
Go to the last line, remove the # symbol and change your-fetch-server to your application domain name. 


In my case I changed to

fetch_server = http://csarchive-gappproxy.appspot.com/fetch.py



Save and close the window. Remember to remove the # symbol only in front of the last line.

Step 4
Double-click on proxy.exe file to run it. A new Windows Command Prompt will be open. Leave this window open and go to your Internet browser.


Step 5
Now you have to change your Internet browser proxy setting.

For Internet Explore
Go to Menu>Tools>Internet Options>Connections tab>LAN settings and then in Local Area Network (LAN) Settings window, tick the Use a proxy server for your LAN, enter  127.0.0.1 for address and 8000 for Port and OK the windows.




For Firefox
Go to Menu>Tools>Options>Advanced>Network tab and under the Connection, click on the Settings button. Select the Manual proxy configuration, for HTTP Proxy enter 127.0.0.1 and for Port enter 8000 and OK the windows.



For any other browser, you just to need to change the proxy settings to

127.0.0.1: 8000

Step 6
After you changed the proxy, you can surf the Internet freely. Just remember the proxy.exe file must remain open when you are surfing the Internet. If you want to change the browser to its default, then delete or undo the proxy settings in step 5.