One of my friends asked me, how he can bypass proxy server in his new company. I told him that he shouldn’t do it, as it is against the company policy. However, he was very adamant, as he was not able to check his yahoo and gmail. Also, he was not able access some stock trading sites. All these site were blocked by his company's new security policy. So, I explained him the ways it can be done. There are number of ways that you can bypass proxy server. But the easiest way to do the same is to join another company J. Joke apart, let us see how can we bypass a proxy to avoid any restriction.

1)If your target site is more or less static in nature, you can make use of Google Cache. Google cache is the local copy of the website stored locally in Google’s server. You can see my earlier post "Cached Web ...", how the cached copy can be opened. The cached site may not be exact replica of the original one, but in most of the cases, it serves the purpose. However, remember that it will not work out, if you are trying to check your mail, bank account etc.
2)You can make use of proxy servers. There are number of free proxy servers. Open any proxy site and enter your url there. Since most of the time, your access is restricted through urlip blocking, entering your url through a proxy site cannot be detected. You can also use anonymous https proxy. This way, your company proxy will not be able to snoop the data being exchanged. However, be aware that use of such proxy in a continuous manner makes your network admin suspicious, as huge amount of data will get exchanged to a particular ip. If you search in Google, you will get number of free proxy servers. I generally use two free web proxy i.e. freemenet.com and hidemyass.com
3)Though web proxy is the easiest solution, it may not be the best choice. It is due to the fact that many times, the proxy site doesn’t open up the site properly for various reasons. To overcome this problem, we have another solution in hand. This is called tunnelling and is very effective to bypass proxy server. You can implement it easily with the help of SSH or secured shell. You might have used many times the secured shell command to copypaste file from one server to another. We can make use of this SSH protocol to create a tunnel. As discussed earlier, when we send a request to a Web Server in the Internet that can be intercepted by your office proxy or any such mechanism in between. But, when you do tunnelling, your request directly goes to the destination server, without any interception.
The requirement for setting up a tunnel is a) Putty and b) Remote server.Putty is an executable. It can be downloaded by clicking on this link.To get a remote server, you can avail some free VPS or subscribe a cheap one. Most of the hosting services provide the facility of renting a VPS.
To set up the SSH tunnel, open the putty and click on Session menu on the left hand pane. Now enter your VPS server name and port (by default 22).
Now scroll down and click on ConnectionàSSHàTunnels. In the source port, enter 8080. Select radio buttons Dynamic. Now click on Add button and D8080 will appear in the space provided for Forwarded Ports.
Now click on Open. Enter your VPS user name and password. If it successfully connects, it means that you successfully established the tunnel and the configuration to bypass proxy server has been completed.
Now you have to do necessary modification in the Internet browser. Here, we will show the setting in Google Chrome.To route all the web requests through the tunnel, we have to configure SOCKS proxy.
Go to settings menu of Google Chrome. Now Click on Change Proxy Settings. In the connection tab, click on LAN settings.
Now in the Local Area Network pop up, check the check box in Proxy server. Click on Advanced. Now, in the SOCKS host, enter your VPS host and port 8080.
Now, when you open any url in Google Chrome , it will directly go through your VPS without any interception. When we connect through SSH protocol, it will bypass proxy server and directly connects to the VPS and the data is exchanged in encrypted mode. And thus, our ISP is also not able to snoop the data.
If you think that all these are big hassles, you can purchase your private VPN. However, that will be much costlier.