In this tutorial i’m going to show you how you can set up your very own proxy php site to bypass annoying internet censorships and restrictions such as Eircom’s block to The Pirate Bay.
Sure there are hundreds of proxy php sites out there but many of them are littered with targeted spam & their bandwidth speeds are quite often slower then a 56k dialup modem (90′s broadband for you 00′s kids). And yes there are proxy IP’ and ports you can assign your network to connect through but how do you know are these really anonymous. After all you don’t know who’s at the other end of that server spying on your every move.
With this in mind I’ve written up a small tutorial on how to get running with the Glype Proxy Script on a server. Its very simple to use and will introduce some of you to the world of Web Development, Web Terms & Proxy Connections.
Its important to note that if you install Glype on a virtual server connected on your own network then you won’t see any proxy goodness because the data will still be piped through your DSL line. If you install it on an external server (for example one hosted with a hosting company) then you should be pretty much golden and bypass most of your ISP’s restrictions.
- A Server with running PHP5 (or greater) with cURL enabled.
- An FTP Client
Now I understand many of you won’t have a server (local or external) so for you folk you can hit up the following links below to install a type of “virtual local server” onto your operating systems. If you do have your own server then you can bypass the below and continue along with the tutorial.
- Mac OSX | MAMP Download: http://www.mamp.info/en/index.html
- Windows | WAMP Download: http://www.wampserver.com/en/
- Linux | LAMP Download: http://www.lamphowto.com/
In this example i will be using a virtual server hosted by Blacknight Solutions, an awesome Irish Domain and Hosting Company who serve many different domains and servers for me and my friends.
Presuming you got your servers set up and ready to go its time to download the Glype script and get this puppy running. Head over to https://www.glype.com/ and click the download tab to grab the latest version of the script. If you plan to use this commercially then you will legally require a licence to run the script but for this tutorial i will be using it for personal uses.
When your download finishes head over to your downloads folder and uncompress the Glype zip folder. You should now see a bunch of files and folders. The files that will be processing the data are the .php files but just incase we miss something its best to copy everything to your servers directory where you want the site to be set up.
I will be installing Glype on the domain name http://proxy.insanitypop.com/. Click the link and you should see a copy of Glype running on my server. I will also be using FileZilla FTP to upload the files to my server.
Using your FTP client, drop the files from the Glype folder into the directory you wish your site to be set up on. In my case i used the “http” root folder which will place Glype directly onto the subdomain name (proxy.insanitypop.com) If you were to make a folder called “glype” and place the files into it within the root directory you would have to navigate to “http://proxy.insanitypop.com/glype/” to view your Proxy site.
Once you have the files uploaded, open up your browser and point it to your server’s IP or your domain name if you have one. Enter the following command replacing “your site.com” with your server’s IP or your domain name.
You will now be instructed to set up a username and password. These will be used to administrate the Glype scripts so make sure you remember your username and password. When your all done with the wizard you will be presented with the Administrator interface. Here you can play around and make edits to Glype.
To view your Glype site head over to: http://www.yoursite.com/ replacing your site.com with your server IP or domain. If you are using the Irish ISP Eircom for your broadband line then try use Glype to navigate to http://thepiratebay.org/. If you are using Vodafone’s ISP or another service rented from Eircom then try to use Glype to navigate to http://upload.eircom.net/
In future articles i will dive more into Glype and teach you about its different commands, theming the script and more.
Until then cheers >:-)