[nzlug] remote access to my home machine

Simon corwin at ihug.co.nz
Sun Aug 12 00:25:43 NZST 2007


That sounds like it will do it all right.
Doesn't look like I need to know *a lot* about the http server... oh
grief, that's apache isn't it? Surely I don't need to go that far?

I'm too tired for this tonight (oh, it's morning I see), no doubt it
will all look better in the... when I next wake up.

On Sun, 2007-08-12 at 00:11 +1200, Michal Ludvig wrote:
> Simon wrote:
> > Here's something I didn't think I'd need to do!
> > 
> > My machine is behind a hardware router (DHCP) - so how am I supposed to
> > connect to it from outside?
> 
> As you mentioned you couldn't install anything on the clients used for
> remote access here's one possible solution, actually in use by me:
> 
> 1) Install HTTP server and SSH daemon on your home box.
> 
> 2) Forward two arbitrary ports on your DSL router to the home server
> (say 2222 for SSH and 8888 for HTTP)
> 
> 3) Make Mindterm Java SSH client available on that HTTP server, for
> instance as http://that-host-ip/ssh.html (HTML page with the appropriate
> <applet> tag, see http://www.logix.cz/michal/ssh and check the page
> source code for live example).
> 
> 4) In the client's browser open the external url of your home server,
> e.g. http://ext-dsl-address:8888/ssh.html and let the Mindterm SSH
> applet start. It will only be allowed to connect to the the same IP
> address it was downloaded from, i.e. to ext-dsl-address:2222
> 
> 5) Enter the username and password and there you are. No installing of
> anything from the net, just a browser, Java (default on XP) and two open
>  ports.
> 
> HTH,
> 
> Michal



More information about the NZLUG mailing list