ghacks Technology News

Setting up your own proxy server


Lot´s of people complain that webproxys are not working at their works / schools computer because they have been banned by administrators. A way around this would be to setup your very own proxy server that is being hosted a) by a free webhosting service that supports either php or cgi or b) your own website that is being hosted by a webhosting company.

Both methods should work and I will walk you right through the installation process for both scripts and give you tips how to find out what is actually being blocked. Before we start you need to download a copy of phpproxy or cgiproxy depending on what you want and can use. You also could perform a search for free webhosting on google for instance and try to find a webhoster that supports one of the two languages, a good site that I found while searching for those terms might be freewebspace.net

1. phpproxy

Download phpproxy and unpack it to a local directory on your hard drive. All you need to do know is to upload the script to your webspace and open up the new url to check if its working allright. You might want to rename the file to something different, something that does not contain the word proxy in it to avoid filters that ban everything that has the word “proxy” in it.

You could open up the script and enter your clients ip in there to make sure that only your client will be able to connect or you could add a .htaccess file to the directory forcing everyone who wants to start the script to enter a username and password. Again, use google if you like to find out more information about .htaccess

The php script has some requirements, make sure you read the readme file which is included and check to see if your hoster has those requirements enabled.

2. cgiproxy

Your hoster has to have cgi enabled in order to run this script. Many free hosters do not offer cgi or only some preinstalled scripts. Make sure it is enabled before you start the installation process.

First, download the source and unpack it to a local directory.

Now, open the .cgi file and take a look at the configuration. You can edit lots of settings from within, for example you could configure the script that way that it only allows text to go through the proxy but no images. Everything is explained in detail and all options are explained with comments, browse through the file, edit the options to your liking and save the new file.

After that upload the script to your cgi directory if that is required by your hoster and open the url from your browser. You are now ready to browse the web anonymously, to check if that is really the case load a website like whatismyip.com as the first site and check if the ip matches with the server the script is installed and not your computers ip. If that is the case you´ve done everything right and can surf anonymously. (there are still ways to find out your ip, just in case you are wondering)

3. What is being blocked ?

a) If you can access the proxy from the client they only block domains / ips.
b) If you can´t access the proxy they might be banning filenames that contain proxy as well, try changing the filename.

[tags]cgiproxy, tunnel, phpproxy, proxy, setup your own proxy, anon, anonymously, privacy[/tags]



Tags: ,
Categories: Security




Related posts:

  1. A solution for visiting blocked contents
  2. Web Proxy Server List
  3. Run a local proxy server
  4. Automatic Web Proxy Server In Firefox
  5. New online proxy.
  6. Web Proxy List January 2006
  7. Free Web Proxy Checker
  8. Looking for beta testers for new proxy site

21 Responses to “Setting up your own proxy server”

  1. Richie says:

    When you need to download the php proxy and you click on the link which one do you download?

  2. |}34|} 70 |2!53 says:

    hmmm interesting will certainly be doing a deeper look into this because at my school we have that problem but if i could set one up the way you describe i’d have no trouble gettin to yahoo er flash games :)

  3. AArish says:

    I bben tryin to do this for a while, but have failed to find any decent webhosters….Could you recomment any particular one that allows cgi because most either dont, or allow only limited use.

  4. ruben says:

    dreamhost is a cheap and skanky webhost who support phpproxy.

  5. dreamhost says:

    *cough cough*

    skanky?

  6. ben says:

    cos schools have bocked it

  7. Brian says:

    Will this process give me an IP and a port in order to enter it into my proxy switcher software? for example: 208.65.73.105:8080

    http://www.proxyswitcher.com/

    ????

  8. Martin says:

    Brain since you set it up locally you have to use the local IP of your browser to connect to the proxy. Those are website scripts, not proxies that you can enter into applications.

  9. Brian says:

    Any idea how to set up what I’m looking for??

  10. abubakar says:

    did any1 of u made 1?
    please send me the website because i dont have a computer at home to make my own and at college everything is blocked and they have 5 firewalls to protect everything really :S

  11. im kind of a basic and simply hacker who like to help but im kind of to this and where upon “unpack it to a local directory on your hard drive”im kind of confused on to where it is

  12. Good information.

    Surrogafier is another choice.

  13. kyle says:

    hay people! why dont u use access throught http tunnel ? . . simply download (smartwhois) and then type any adress and it will give you the ip in which u can use!

  14. Julinka says:

    appreciate the info guys, thanks

  15. Jr says:

    Hmm, not sure why but does not seem to be working. ??

  16. MJ says:

    I don’t understand. Once I’ve installed the cgi proxy script, how do I access a Web site through the proxy?

    Let’s say the script can be accessed at:
    http://a.b.com/cgi-bin/nph-proxy.cgi

    Now what?

  17. iresha says:

    Or you can build your own proxy server using many freely available code if you want more control

    Here is a java servlet proxy
    http://codediaries.blogspot.com/2009/12/simple-java-proxy-servlet-using.html

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2010 Ghacks.net. All Rights Reserved. Privacy Policy - About Us