How to Setup your own Proxy Server for Free

google-app-engine-logo

To download these tutorials for OFFLINE viewing or for archive purposes please (Click here to download)
(Clicking the “.zip” will open the Archive, un-zip the .mht files then use one of the plugins below to view them)

You can open .mht WebArchive files directly inside FireFox Or Google Chrome by installing a plugin



This video tutorial explains how you can quickly create your own online proxy server for without requiring any hosting space or web domain name. Use Google App Engine to build and host our proxy site for free.

Do a simple Google search like “proxy servers” and you’ll find dozens of PHP proxy scripts on the Internet that will help you create proxy servers in minutes for free. The only limitation with PHP based proxies is that you require a web server to host the proxy scripts and second, you also need a domain name to act as an address for your proxy site. If you don’t own a domain or server space, you can still create a personal proxy server for free and that too without requiring any technical knowledge.

Create a Free Proxy Server with Google App Engine

Here’s one such proxy site that you can build for your friends in China or even for your personal use (say for accessing blocked sites from office). This is created using Google App Engine and, contrary to what you may think, the setup is quite simple.

Step 1: Go to appengine.google.com and sign-in using your Google Account.

Step 2: Click the “Create an Application” button. Since this is your first time, Google will send a verification code via SMS to your mobile phone number. Type the code and you’re all set to create apps with Google App Engine.

Step 3: Choose a sub-domain* that will host your proxy server. Make sure the domain is available, agree to the Google Terms and click save. The sub-domain is also your App ID that will uniquely identify your proxy application.

For this example, we’ll use labnol-proxy-server as the App ID
though you are free to choose any other unique name.

Step 4: OK, now that we have reserved the ID, it’s time to create and upload the proxy server application to Google App Engine. Go to python.org, download the 2.6.4 MSI Installer and install Python.

Step 5: Once Python is installed, go to code.google.com, download the Google App Engine SDK for Python and install it.

Step 6: Download this zip file and extract it to some folder on your desktop. The zip file, for the curious, contains a couple of text files (written in HTML and Python) that you can read with notepad.

Step 7: Start the Google App Engine Launcher program from the desktop and set the right values under Edit – > Preferences (see screenshot above).

Step 8. Click File – > Add Existing Application under the Google App Launcher program and browse to the directory that you created in Step 6. Click the Edit button and replace “YOUR_APP_ID” with the ID (sub-domain) that you reserved in Step 3.

Step 9: Click Deploy and your online proxy server is now ready for use.

Visual Tour – Setting up a Free Proxy with Google

1_create_app_engine_account 2_verify_mobile 3_authenticate 4_create_application 5_install_python 6_install_app_engine_sdk 7_sdk_preferences 8_add_proxy_application 9_edit_app_id 10_deploy_proxy_server

You can edit the main.html file to change the appearance of your proxy server and you can even add Analytics and AdSense code to your proxy server in case it gets popular on the web.

The application is currently open to all users but you can add a layer of authentication so that only users who are logged-in into their Google Accounts can use your web proxy server.

If you have made any changes to your HTML files, you can upload the latest version to Google App Engine either by clicking the “Deploy” button again or use the following command – appcfg.py update <app-directory>