Wednesday, January 18, 2006

Your Freedom and Tunneling

In my campus access to several ports have been blocked via the proxy servers. in general this problem can be easily overcome by using something callled tunneling.One can always forward ports through SSH by tunneling.One software that dose it pretty easily is corkscrew.Debian users can easily obtain it by typing

apt-get install corkscrew

After one install corkscrew, the ~/.ssh/config file needs to be edited( and created in case it dosen't exist). Add the following lines in the ~/.ssh/config file:

Host *
ProxyCommand corkscrew proxy_server port %h %p


the host * command specifies that this is meant for all users,in case if you wanna use it only for present user remove this line. Replace the proxy_server with the name of the proxy server in use and the corresponding port. Once it is done , one has to just type

ssh server_address

Server address refers to the host you wanna ssh through HTTP tunneling.


*********************

now y am i writing all this crap.man is the laziest creature on Earth(at least me).If you download the java package of your-freedom from the site your-freedom.net you can peacefully execute the tunneling job and it can be easily used for IM clients.Dowload the file and unzip it.Browse to the folder and type the following command
java -jar freedom.jar

in order to make it happen u need to have latest version of Sun JDK/JRE/SDK.The GCJ package which comes by default with the OS cannot handle the java work(Especially Debian and Fedora).Once you have done it ..... it will ask you the proxy settings and other things.When it is run for the first time it dose take a lot of time to look foe servers..so plz don't press the panic button in case u don't c ne thing happening........
....


TO BE CONTINUED.................