How to Get Past Blocked Sites With PHProxy

00 access denied   How to Get Past Blocked Sites With PHProxyLooking at the experiences of one of my friends – the network administrator – I don’t think I’d ever want to be one. Personally, I think this job would continuously put me in a difficult situation. On one side, I would want to always be on good terms with everybody that I worked with. But on the other side, I would have to preserve the company’s internet bandwidth.

The Internet is one of the favorite places to slack off from work. And most of the time people “intentionally” get confused on the difference between “slacking” and “working”, hence abusing the free net connection provided by the office/school/whatever.

So, to increase the productivity of everybody, the network admin is asked to block those major slacker-maker websites (social networking, chat, photo/video sharing, etc.). And since nobody has the guts to point his/her finger to the boss, the network admin will definitely play the role as the bad guy.

Unlock The Block

00 finding the keys   How to Get Past Blocked Sites With PHProxyThe problem is, there are always some ‘good’ sites that also get blocked in the process. And it’s very annoying if you really do want to work but unable to access the necessary places.

Assuming that you are going to use it for a good cause, there are many solutions available on how to get past blocked sites, and we’ve discussed some of them here, here, here and here. But you can’t get too many alternatives, can you?

This article will show you another way how to get past blocked sites. You’ll need your own domain hosted in a PHP-friendly hosting service and a script called PHProxy.

You can try to use a free web host for this purpose. The basic rule of thumb is, if the host can handle WordPress, it can easily handle PHProxy. However, not all free hosting providers (are willing to) support this script.

How to Get Past Blocked Sites

After you download PHProxy, unzip it, then upload these three files: index.php, index.inc.php, and style.css to a directory in your site. You can use any existing directory in your site, but it’s preferable to create a new one.

01 Three important files   How to Get Past Blocked Sites With PHProxy

To upload files or create a directory, you can use any FTP client or use the online “File Manager” provided by your host. This is usually accessible via cPanel (and may have a different appearance depending on what kind of cPanel is used).

02a Online File Manager   How to Get Past Blocked Sites With PHProxy

Inside the File Manager, choose “New dir

02b New dir   How to Get Past Blocked Sites With PHProxy

And then create a new directory by writing down the desired directory’s name and click the checkmark.

02c Create a directory   How to Get Past Blocked Sites With PHProxy

Then choose the newly made directory to open it, and click the “Upload” button.

03a Upload file   How to Get Past Blocked Sites With PHProxy

Browse for the three files and add to the upload list. Click the green checkmark to upload them.

03b Browse for files   How to Get Past Blocked Sites With PHProxy

And you are done.

Note: In some cases, you may have to create the new directory inside the “/htdocs” directory.

Using PHProxy

Using PHproxy to access blocked sites is very easy. All you’ve got to do is point your browser to: http://yourdomainname/the-new-directory-name/

If nothing goes wrong during the installation (read:uploading process), then you’ll see the following PHProxy display.

04 Using PHProxy   How to Get Past Blocked Sites With PHProxy

Just put the address of the blocked site in the “Web Address” field and click “Go“.

04b Browsing site   How to Get Past Blocked Sites With PHProxy

You can share the access to your friends if you want to, but it’s better if you just show them how to build one themselves. Because the more users there are, the more likely it’s being discovered by the admin.

To close, let me quote the disclaimer by the script’s author:

Since this script basically bypasses restrictions that were imposed on you, using it might be illegal in your country, school, office, or whatever. Even your host might not allow you to run it. Use it at your own risk. I will not be responsible for any damages done or any harm that might result from using this script.

Simply put, use the method at your own risk.

Again, PHProxy can be downloaded for free here. And there’s another similar script that you can try: CGIProxy.

Do you know other free and easy methods how to get past blocked sites?  Please share using the comments below.

Image credit: Joshua Rappeneker and Llima

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

12 Comments -

0 votes

Chris

Many hosting companies explicitly ban proxies in their terms of service, so don’t be shocked if you install this, get a heap of traffic and then find your account suddenly shut down.

0 votes

Ian

I am the administrator at our company and set this up about a year ago, so I could get to sites I needed to get to. It works pretty good except for sites like youtube wich don’t like this kind of proxy. Like Chris mentioned it puts all the bandwith on your host and is why I seldom use it and reserve it only for me. There are other ways around it for the admins but changing my DNS and rebooting isn’t very pratical when you need to be on the local domain most of the time.

0 votes

Chris

Just to let you know that PHProxy is _old_ and has been superseded by Glype (http://www.glype.com/)

0 votes

jasray

1. Yes, PHP proxy scripts work, but . . .
2. If everyone posts the “hows,” then what? Filtering companies love articles like this.
3. Keep searching–many ways available, but . . .
4. Your employer owns you–in the agreement, you trade services or skills in exchange for $’s so you can go home and surf, yes?

0 votes

Shafeeq

This is sad.

It is quite obvious that this is not an ethical (or in some countries – legal).

I wish you had though more before deciding to post this review, and I would even go so far as to say that you should consider pulling it.

0 votes

Israel Nicolas

Can this also bypass country restrictions?

0 votes

djangelic

this is awesome, i cant wait to try this at work tomorrow, we have a computer lab but a lot of websites are blocked, like facebook, and our email… very excited :D

0 votes

spider_crk

I really wanted to get this to work, but after upload when I point my browser to: http://yourdomainname/the-new-directory-name/ all I get is a directory listing. What am I doing wrong?

0 votes

Jeffry Thurana

Sorry, I might not explain it clear enough. You should replace the “yourdomainname” with the name of your domain and “the-new-directory-name” with the name of directory you created to upload PHProxy.

So, if your domain is “xyz.com” and you uploaded PHProxy to a directory called “prox”, you should point your browser to “http://xyz.com/prox/”

Good luck.

0 votes

spider_crk

Thanks for your reply. I did however realise that I should use my personal domain and directory name. However when I point my browser to it I simply get the directory listing. Am I doing something wrong?

0 votes

jasray

Me thinketh you’d be fine with XAMPP (Apache) and Zelune, make sure the correct ports are open, lock down access to your server, or try something much more efficient like an SSL-VPN.

0 votes

iresha

Keep the internet free of censorship. There are lot’s of free proxies such as

htp://codediaries.com/prxprod

that allow you to bypass blocks