Pinterest Stumbleupon Whatsapp
Ads by Google

create a proxy server to surf the webI had quite a lot of trouble last week with a company’s browsing restrictions. It used an extensive directory of ‘forbidden websites’ that kept out all but a few popular sites. In effect, no games sites, no personal email, and no MakeUseOf.

None of the conventional proxy servers worked, and even Google Translate failed. My hopes were down until, yesterday, I discovered that one of my personal domains could be accessed.

Back on my home computer, in a matter of minutes, I had set up my own functioning proxy server. With the instructions below, so can you.

Prerequisites

If we want to pull this off there are a few things you need.

  • Web Host

In theory, any webhost will do, if they comply with the other requirements; an old computer in your basement, or even a free online webhost.

Ads by Google
  • PHP5 or greater and cURL

Look for this on the website of your webhost. If it’s paid hosting, you can almost count on it. Especially cURL is a feature that’ll be disabled on most free webservers.

  • Permission

That’s right. Some webhosts will explicitly forbid you to create a proxy server (or a chat room, for that matter) in their terms of content. And you can expect them to find out.

1. Download and Install GlypeProxy

GlypeProxy is a free, standalone PHP script. That means it’s lightweight and incredibly easy to configure. You can download it from their website.

Next, upload the files to a sub directory on your webserver. If you see a folder called ‘www’, or called after your domain name (e.g. domain.com) create the sub folder in there. You need to avoid using the word ‘proxy’, because some companies pick up on it. Instead, use ‘web’ or ‘surf’.

There are a few different ways to upload your files. If you already know this, skip to the next paragraph. Here they are arranged from the least to the most effort.

  • Upload and unpack ZIP

Look in the filemanager for an ‘unpack’ or ‘extract’ option. You can then upload it in one take. This is not always supported.

  • FTP access

Use an FTP application to access your webhost, and let it transfer the files while you fetch some more coffee. Most often supported.

  • Manual upload

You really don’t want to do this – are you sure the previous two alternatives are blanked out? Your last resolve will be to manually upload all the files and folder structures. Or start looking for a different host – it might not be such a bad idea.

2. Ready For Use

There’s no real set-up needed. Just point your browser to the directory where you put all those files (ex. domain.com/surf) and GlypeProxy will pop up. If you don’t like the logo, you’ll have to replace it manually. But if you want a proxy server for personal use, some little branding won’t matter.

create a proxy server to surf the web

Users can enter any URL and, after expanding the options, choose to encode the URL, the page, allow cookies, scripts and objects. Encoding the page can help you access some sites that are still being picked up and intercepted, but might give you a corrupt webpage at times.

3. Admin Preferences

Although Glype is a powerful proxy script, the admin tools are obviously the backing power. You might not know this, but a lot of online proxy tools are powered by Glype, just like the one you just set up. The admin preferences leave room not only for customization, but for improvement. You can assign site-specific code for trouble-giving websites, and change user-agent and proxy lists.

create a proxy server to surf the web

Most useful to novice users will be the caching tools (pictured above), logs, and blacklists. The caching tools can help you improve the browsing speed by storing some files from all, or some of the already visited websites. Logs are off by default, but might have legal importance in the future, depending on who uses your proxy server. Always explicitly mention you’re keeping these logs. Finally, the blacklists will allow you to block (all but) a few sites, or users.

To access your admin panel, point your browser to admin.php on your webserver (e.g. domain.com/surf/admin.php).

Are you setting up your own personal proxy server? Do you have any other tips or experiences on the issue? Let us know in the comments below!

  1. Scikick
    July 1, 2016 at 11:03 am

    Could you use this to download files? Original server to your proxy server to local?

  2. Jayce
    June 23, 2016 at 4:59 pm

    is there any way I could proxy to a specific internet port (eg port 80, so they can't close the connection) with this, or just make a proxy server. Thanks in advance to anyone who can help me with this.

  3. Shubham Dingar
    June 22, 2016 at 12:39 pm

    Hello, I want to access the Glype web proxy server set up at my home computer from my University. The IP which is used to access the web server is a local IP and hence cannot be accessed from my university. How to do it? I want it to be accessible from a different network.

    • cyleleghorn
      June 29, 2016 at 3:53 pm

      You need to look in glype's settings or config files on your hard drive and see what port it is listening on, then forward that port to the same internal IP address as you are currently using. After that, search on google for "what is my ip address" and they should show it to you. You can type in that ip address, then a colon, then the port number, and it should take you right to your glype page. It'll look like this but with different numbers: 123.456.789.753:2442. You can use something like noip.com to replace the external ip address with a free domain name that is easy to remember

  4. Video Uploader
    August 30, 2015 at 12:26 pm

    Hey guys, I made a youtube video to help you create a proxy server in under a minute.
    Do check it out - https://www.youtube.com/watch?v=H0rQ-kU0YAE

  5. Alon Goldfeld
    August 24, 2015 at 9:36 pm

    In order to do media streaming, can i use this script?

  6. CooLbudy
    February 10, 2015 at 7:55 am

    Can this work for bypass CYBEROM ?

  7. sodiq
    January 31, 2015 at 8:40 am

    Hi, guys. please help me. How i to create own proxy server . this very impossible for me

  8. Conor
    October 4, 2010 at 9:59 pm

    I have a spare Pc at home & i am just installing a VPN router, how easy would it be to make my pc my proxy server so I can access UK websites when abroad?

    • Simon Slangen
      October 5, 2010 at 7:58 am

      I'm not sure about advanced proxy servers using VPN. You could try asking on MUO Answers.

    • William Hurst
      June 6, 2015 at 8:36 am

      If your computer is on, you can run teamviewer... it allows you to remote access your device. it is the simplest way to work around that issue.

  9. domoniquee
    September 27, 2010 at 8:06 pm

    ugghh i need a freakin proxy!!!!

  10. Simon Slangen
    September 9, 2010 at 12:33 pm

    Glype (or similar websites) are basically online applications that reroute your internet traffic through proxies. The actual proxies are the computers that have volunteered to 'represent' you online.

    Because Glype is an 'application', you can't use it as a browser or mail proxy input. Instead, you should enter the actual proxy IP addresses, like those Glype uses. These proxy addresses can be found (e.g.) here and here.

    For browsers, proxies can be specified in the settings pane. Thunderbird is a bit harder, but here is a walkthrough.

  11. Simon Slangen
    September 9, 2010 at 12:25 pm

    Good point. If your website is indexed by Google, one could easily find you by searching for 'Glype' references. Read these Google guidelines on how to remove your webpage from the search results.

    From that point on, you're mostly safe, but there's always the chance of someone stumbling on your Proxy and using it with malicious intent. If you're using the proxy for personal purposes, display a front-page notice that you'll be keeping logs, and follow it through. Worst case scenario? You scare away some unwanted visitors.

  12. Andrew
    September 8, 2010 at 7:42 pm

    I'm an advanced user, but not a techie. Would I be able to identify Glype in my browser's proxy settings, so I would not need to go to the URL on my domain, but instead just use my browser as usual? Likewise, can I identify Glype as the proxy server in Thunderbird, so I could access my personal POP3 e-mail from behind firewalls that would normally prevent it?

    • Andrew
      September 9, 2010 at 10:42 pm

      Simon, thank you very much.

  13. Dave H
    August 22, 2010 at 4:20 am

    potentially silly question: how hard would it be for someone to figure out what my proxy server location is (direct url link to it) and start using it w/o my knowledge / consent?

    • Simon Slangen
      September 9, 2010 at 10:25 am

      Good point. If your website is indexed by Google, one could easily find you by searching for 'Glype' references. Read these Google guidelines on how to remove your webpage from the search results.

      From that point on, you're mostly safe, but there's always the chance of someone stumbling on your Proxy and using it with malicious intent. If you're using the proxy for personal purposes, display a front-page notice that you'll be keeping logs, and follow it through. Worst case scenario? You scare away some unwanted visitors.

  14. Mark O'Neill
    August 21, 2010 at 3:51 pm

    This is great. I installed Glype on one of the websites I own and it works perfectly. Now my wife can surf UK sites at work (which are blocked by default).

  15. Simon Slangen
    August 21, 2010 at 3:32 pm

    Because most of those services are restricted outside of the US, Glype uses U.S. proxy's by default. Like Aibek said, this can be a problem if you're trying to overcome a U.S. restriction.

    To solve this, drag the /extras/edit-browser.php file to your proxy's root directory, and point your browser to it. There you'll be able to provide a different HTTP/SOCKS 5 proxy. (example)

    You can find free proxy lists here and here.

  16. rozn
    August 20, 2010 at 11:28 pm

    It would have been, if it would worked. First web site i goto - isohunt.com detects that i'm from the US and gives me the slimed down version of search.

  17. rozn
    August 20, 2010 at 9:28 pm

    It would have been, if it would worked. First web site i goto - isohunt.com detects that i'm from the US and gives me the slimed down version of search.

    • Aibek
      August 21, 2010 at 12:48 pm

      In order to use Glype to bypass the GEO restrictions for ISOHunt (or any other site for that matter) you need to look at the host location. That is to day, for ISOHunt you need to use a host with servers located outside United States. Glype is a good solution for those who are blocked by corporate firewalls.

    • Simon Slangen
      August 21, 2010 at 1:32 pm

      Because most of those services are restricted outside of the US, Glype uses U.S. proxy's by default. Like Aibek said, this can be a problem if you're trying to overcome a U.S. restriction.

      To solve this, drag the /extras/edit-browser.php file to your proxy's root directory, and point your browser to it. There you'll be able to provide a different HTTP/SOCKS 5 proxy. (example)

      You can find free proxy lists here and here.

  18. Kohan
    August 20, 2010 at 5:59 pm

    But this proxy has some limitations, I would be interested in knowing how to set up my own VPN, this shouldn't be too expensive now that a virtual private server can cost as cheap as $10/month, just the know how is neeed.

Leave a Reply

Your email address will not be published. Required fields are marked *