Accessing Blocked Websites - Use your own proxy server at home!

Posted by webstuffscan on December 21st, 2006


Internet censoring hellIt is getting bizzare. Many corporates erroneously blocked Gmail since it got reported as a virus! On top of it, all are busy blocking Orkut and Myspace. I had written a recent piece on accesing banned Websites. Most of the methods mentioned there don’t work in corporate networks since network admins are also getting smart :)

One of the methods I mentioned was number 8 - Your own proxy server. This is superior to all other methods due to a couple of reasons. First free public proxies are never safe. Your personal and private information can be compromised in these servers. Also these will get blocked by the proxy software eventually. Another reason is that using your own proxy server gives you complete control. You can encrypt your traffic so that no one knows what is being browsed.

I will look at setting up a Http proxy server on a Windows XP machine. Please note that this article won’t be covering the case when you use proxy server or WiFi at home. I will be writing another post about such scenarios later.

Step 1 - Download and install Perl distribution
Download Windows x86 version of Active Perl from ActiveState site. Install with default configuration except the directory which I recommend to be set to “C:\usr\”.

Step 2 - Download and install Apache server
Download latest Apache server for Windows (2.2.3 as of today) from http://httpd.apache.org/. Install it under any folder with port 80 as the HTTP port . Setting port to 80 is important since most corporates only allow port 80 access. If you get any error in binding to port 80, probably you have something else listening on it.

Step 3 - Configure Apache server
Now we need to configure Apache to enable CGI.

Locate #AddHandler cgi-script .cgi in httpd.conf (located inside apache subfolder conf) and remove the hash(#) in front.

Locate the “you set DocumentRoot to” string in httpd.conf. Under that you will see Option directive. Change it to Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

Step 4 - Download and install CGIProxy (nph-proxy)
Download CGIProxy (nph-proxy) from http://www.jmarshall.com/tools/cgiproxy/nph-proxy.cgi.txt. Rename the file to nph-proxy.cgi and copy it to Apache’s document root (htdocs). Now change the first line in nph-proxy.cgi to #!C:\usr\perl\bin\perl.exe

Start Apache from the bin folder (httpd.exe). Now open a browser session and point to http://localhost/nph-proxy.cgi. If everything is ok you should see the following screen.

Using home made Http Proxy

Find the IP address of your home connection. This can be viewed by typing ipconfig on the command prompt. Now from the office machine access http://IP ADDRESS/. You should see the proxy form which we saw above. Happy orkutting! :)

Note : This will need more steps if you have a WIFI network at home (port forwarding). I will cover these issues in the next post.

Further Reading
Top 10 ways of accessing banned web sites.

Click here if you want to receive latest site updates in your email!

Related Stuff
Copyright is retained by webstuffscan

20 Responses to “Accessing Blocked Websites - Use your own proxy server at home!”

  1. puko Says:

    some isps block hosting on port 80
    so you should host on port 443 instead

  2. d Says:

    thanks

  3. Ender Says:

    how do u set up access control for this proxy server?

  4. Avinash.N Says:

    I have tried so many times to open an orkut by using different
    proxy server,but i have not found any powerful proxy server yet.
    So,please help me.How to open the orkut using proxy server.

  5. rash Says:

    i cant login to orkut page from my home it shows page canot be displayed

  6. Anonymous Says:

    i canot open the orkut page from my home it shows page canot be displayed

  7. Anonymous Says:

    i canot open the orkut page from my home it shows acces url is blocked

  8. Anonymous Says:

    i cant open the site orkut from my home iam in staying here in ksa(Saudi Arabia)and it shows Access to the requested URL is not allowed

  9. Anonymous Says:

    i cant open the site orkut from my home iam staying here in ksa(Saudi Arabia)and it shows Access to the requested URL is not allowed

  10. Anonymous Says:

    i cant open the site orkut from my home iam staying here in ksa(Saudi Arabia)and it shows Access to the requested URL is not allowed.plz help me to join okut

  11. Anonymous Says:

    i cant open the site orkut from my home iam staying here in ksa(Saudi Arabia)and it shows Access to the requested URL is not allowed.plz help me to join orkut

  12. Anonymous Says:

    I believe that Saudi Arabia has been banned from the internet…

  13. Anonymous Says:

    our school blocks sites by category, and one of those happens to be annonymizers. Is there a way i can get an in-direct link to these files?

  14. Anonymous Says:

    I’m almost there, when I open the page in the last step it says that I don’t have permission to access the page. Any ideas? Thanks

  15. Abhishek Jain Says:

    hey,

    thnx for the input but this doesnt support HTTPS ie. SSL….and most of the mails are now https only…like yahoo and gmail..can u suggest something tht supports https also…

  16. BSKU Says:

    Has anyone found a home proxy server similar to this that does support accessing HTTPS sites such as gmail, financial institutions, etc…? What programs/scripting do Megaproxy.com and the-cloak.com utilize?
    I have Apache & CGIProxy working fine with an SSL connection, however it does not allow access to HTTPS sites through the proxy, please advise. Thank you for the instructions above and any future help.

  17. branden Says:

    plz give me a list of websites for proxies plz or my myspace email is bambotta2x@yahoo.com

  18. Witho Says:

    Seems like the ISP block “Everything” but google.com and yahoo.com. But it will allow anything contain “google.com”. How can I change the server name to something like “server.google.com” or anything contain “google.com”? Thank you.

  19. Rakesh Says:

    I have the same problem.

    I can browse google only in My computer and can download google products from google.( like google earth, picasa,etc)
    But I can not open other sites directly eg. http://www.live.com OR http://www.yahoo.com OR any thing except http://www.google.com and Some site I can access some mozilla and useless sites in day to day life.

    Please help I have paid Rs.395 for the Mobile Office. and Now Airtel Coustemer Service does not Responing. eeeeeeaaaaa!! I totally disapointed after manual settings of Mobile Office.

    Mobile Browser is Wap Browser So I use Opera Mini So I can browse Web sites in Mobile But Why not in Computer.

    Settings in my Mobile are:

    Mobile Office
    http://www.google.com
    proxy blank
    port 8080
    APN airtelgprs.com

    Can you guess the problem
    Is it http problem
    Is it IP or site blocking problem
    Is this my computer problem

    I don\’t have such issue with other net service providers like BSNL (It means the problem is not in my computer)

    Plz help or just guess the problems or give Some website address to get answer

    My Email is VistaLover2008@hotmail.com

    Thank You in advance !!

  20. sandy Says:

    hi
    , i am not able to open my gmail in my office.i know my admin has blocked that .i know the admin password. but i dont know how to make changes to allow gmail in my system.
    pls mail me how to do

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>