Localtunnel - access to the hobby room

What do you have and what do you want?

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Localtunnel - access to the hobby room

Postby viking60 » 10 Apr 2012, 08:42

I sometimes need access to my home network from the outside, The problem is that the boxes are behind a router with a single IP.
My router does not digest dyndns correctly either, so it is a Bingo which of my boxes turn out on the net. But now I have found localtunnel

This one lets me turn on and off the access to my computer via SSH and a proxy service.
I have generated my ssh key before but you can do it like this:

Code: Select all

ssh-keygen -t rsa

then:

Code: Select all

localtunnel -k ~/.ssh/id_rsa.pub 8080

The last command assumes that the server you want to make accessible runs on port 8080. Finally, execute the localtunnel command as follows:

Code: Select all

localtunnel 8080

It will generate the web address that you can use from everywhere to access your box.

It stays up until you cancel it so you are in control.
Here is my lamp server on a broken lap in the hobby room:
http://3ymt.localtunnel.com/BCMSb
I will leave it up for some hours. I have put that on port 80.

This thing is easy and works - but of course the security provided by the router is compromised.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Software”