How To

Bypass School/Work Firewall | Secure Socks Proxy Tunnel

Bypass School Work Firewall
Written by EasyVBApps

First of All – What Is A Proxy Server?

In computer networks, a proxy server is a server (a computer system or an application program) which services the requests of its clients by forwarding requests to other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. (Source wikipedia)

What Is A ‘SOCKS’?

SOCKS is an Internet protocol that allows client-server applications to transparently use the services of a network firewall. SOCKS is an abbreviation for “SOCKetS”. (Source wikipedia)

So in other words, a socks proxy is a tunnel between the server (your home computer) and a client (your work or school computer) that encrypts all data. So, for example, if you use the socks proxy within a web browser, it’s just like if you where sitting in front of your home computer. This is why it bypasses the firewall and give you full access to the web. This procedure targets moderately skilled computer user. Here’s how to do it:

Server Side: Installation of The openSSH Server.

  • Download a copy of copSSH on you home computer (make sure you leave this computer on so the tunnel is always accessible).
  • Download
  • Extract the content of the archive.
  • Execute the file you just extracted.
  • When you see the following window, click on Next >.
  • Then click on I agree.
  • Leave the installation folder by default, and click on Install.
  • Wait until the installation is complete.
  • When this message appears, click on Ok (we will deal with this later).
  • Click Finish to close the last window.

Server side: Changing the port of the ssh server from 22 to 443

Why are we doing this? Most of the network administrators will block port 22. Port 443 is the common port for secure websites. Normally it should be opened.

  1. Click on the Start menu then on Run. Type in wordpad “C:\Program Files\copSSH\etc\sshd_config” and click on ok.
  2. Locate #Port 22 in the text file. Remove the # sign and change 22 for 443.
  3. Reboot your computer for the changes to be applied.

Server side: Creation of the user to access the openSSH service.

  1. Click on the Start menu and then on Control Panel.
  2. Create user
  3. Click on Administrative Tools and then on Computer Management.
  4. In the Computer Management console, expand Local Users and Groups, right click on Users and click on New User.
  5. Enter the information for the new user and click on create. Make sure to use the same options as in the image bellow. For the password it is preferable to use something a little bit complex (ex.: Th1s1SaPassw0rd).
  6. You now have to put this user in the administrators group. To do so, double click on the user you just created. Go to the Member Of tab. Click on Add and enter Administrators then click on Ok. You can also remove the group Users. To close the window click on Ok.

Server side: Assign the user to be used by CopSSH.

  1. In the Start menu, open The CopSSH folder and click on Activate a user.
  2. Choose the user you just created (in this case remote). Remove the checkmark beside Create keys for public key authentication and click on Next >.
  3. Click on Ok. Your user is now activated and ready to be use.

Client side: Install and configure EasyTunnel.

  1. On the client computer (your work or school PC), download a copy of EasyTunnel – http://easyvbapps.com/easytunnel-2-1-download
  2. Decompress the archive on a location of your choice (it can be anywhere even on your usb key). You can use 7-zip if you do not have any software to do so.
  3. Open this folder and click on EasyTunnel.exe.
  4. The main window will open, click on Auto-Fill then on socks over proxy on 8080.The basic configuration will be filled out for you. You just need to complete the blank fields as followed and then click on Add.
  5. Hostname: You home computer ip address (it is preferable to use a dynamic service like no-ip or dyndns).
  6. User/Pass: Put in the user you created previously with the password for this account.To activate the tunnel, double-click on the line you just created. The line should turn green. If not, something went wrong.
  7. Client side: Configure your browser to use the tunnel.

If you use Firefox (strongly recommended):

  • Open Firefox.
  • Click on Tools > Options. Go to Advanced then to Network and click on Settings.
  • Enter the information. Then click on Ok twice.

If you use Internet Explorer:

  • Click on Tools > Internet Options. Go to the Connection tab and click on Lan Settings.
  • Put a check-mark as in the image, then click on Advanced.
  • Enter the information for the socks proxy. Click on Ok three times.

Voilà!

You are now ready to browse anonymously from public places… To test it go to http://www.ip-adress.com or any similar address. If everything works fine, you should see your home IP address (the one your isp assigned to you) and not your work or school ip.

N.B. If you use a router or firewall at home, you will have to foward port 443 to the local ip of the ssh server. If you do not know how to do this maybe tunnelling is a bit to advanced for you.

References:
http://www.buzzsurf.com/surfatwork
http://www.itefix.no/copssh
http://www.wikipedia.com

About the author

EasyVBApps

Hi, welcome to EasyVBApps, a blog where you can get latest and best tips and tricks related to Android, iOS, Windows, Internet and many other tech things. Keep visiting EasyVBApps to learn about latest tutorials, tips and tricks about technology things.

Leave a Comment