At one time we might need to bypass the firewall, and at another time we might need to secure / encrypt our connection, and for that we normally set up tunnel in SSH. Setting up tunnel itself is fairly easy, yet there are programs to make it even easier.
I’ve previously been introduced to gSTM (Gnome SSH Tunnel Manager) and I must say it’s a very helpful program. Here’s a one liner to install it Ubuntu / Debian;
shakir@gutsy ~ $ sudo apt-get install gstm
Just for an example, I’ll show how to tunnel port 80 (HTTP) of one of my other Linux box (under VMWare of course);
Let’s first create a tunnel
Edit how to redirect the remote box’s HTTP port
and test it out..