[nzlug] remote access to my home machine

Michal Ludvig michal at logix.cz
Sun Aug 12 00:11:32 NZST 2007


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
-- 
* http://www.logix.cz/michal







More information about the NZLUG mailing list