/home/shakir

Easy SSH tunnel with gSTM

Posted on 10 Jan, 2008, categorized under 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!  :D

 





Looking for something else? Search Google.

4 Responses to "Easy SSH tunnel with gSTM"

1 | hybrid

February 6th, 2008 at 4:22 pm

Avatar

I have no clue what you just did. The test part is extremely convoluted

2 | Chris

February 20th, 2008 at 5:34 am

Avatar

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) :)

3 | Alexander Kriegisch

February 25th, 2008 at 2:03 am

Avatar

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.

4 | GbMax78

April 13th, 2008 at 9:14 pm

Avatar

There is the same tool for KDE ?

Comment Form


  • si perda: wah.. boleh kasi need for speed test power skali... boleh layan network race ni...
  • Faiz: wah....harganya berapa?
  • shakir: Hmm, I have no lab and that actually was my living room :D Sure I'll move them to one of my available rooms at home and make it a lab, but that'll be
  • peja: whoaaa..at least u have ur own lab...look interesting!
  • Qing Ru: He looks really cute! Fatherhood must have been quite rewarding :)
  • shakir: Chris: Thanks, I've updated the post.
  • shakir: tak cukup banyak guinea pig yang dah try and comment on the wimax service, and so I'll just wait :D
  • shakir: Vadim: Yup, but I prefer to just install dosbox and play the game rather than re-installing my system with 32 bit Linux :D
  • Vadim: 2shakir: wine doesn't support 64-bit linux. You have to use 32-bit linux if you want to use wine.
  • kevler: yerp ...dalam 2 hari nih jer ..aku dah kesan 2 BMW X6 , kat puchong dan jalan ampang ..giler laa lawa



Disclaimer

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my own personal opinion. Inappropriate comments will be deleted at the authors discretion. All code samples (if any, ever) are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Personal (Blogs) - TOP.ORG