Thursday January 10, 2008 06:43
Easy SSH tunnel with gSTM
Posted by shakir as Information Insemination
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

and login..

Edit how to redirect the remote box’s HTTP port
and test it out..

It works!

4 Responses to Easy SSH tunnel with gSTM
hybrid
February 6th, 2008 at 4:22 pm
I have no clue what you just did. The test part is extremely convoluted
Chris
February 20th, 2008 at 5:34 am
I’m wondering if you could go into a bit more detail. I’ve been trying to figure out how to port forward through a non-standard port on a router, (40000 range maybe) and then direct VNC through the port, without much luck.
But gSTM looks very promising (if only i had a clue what i was doing)
Alexander Kriegisch
February 25th, 2008 at 2:03 am
What the author describes is a “normal” forward tunnel, not a reverse tunnel. A reverse tunnel would be to make a port available on the remote server through which to connect back to your client, so e.g. you can connect to your home PC from the office, let a job run, go home and then verify the results via VNC or RDP from home by connecting back through the reverse tunnel. This should also be straightforward with gSTM, because it already is easy enough with the ssh command line. Keeping the tunnel open (auto-reconnect from client to server) should be easy enough using autossh. Probably gSTM also offers a keep-alive option, I do not know. I never used that tool, I merely stumbled upon it just now.
GbMax78
April 13th, 2008 at 9:14 pm
There is the same tool for KDE ?