ssh into a home network

David A. Bandel david
Mon May 17 11:44:06 PDT 2004


On Thu, 6 Feb 2003 21:28:31 -0600
Alan Jackson <ajackson at oplnk.net> wrote:

> I have what I hope is a simple problem.
> 
> My home network is 3 Linux boxes behind a Netgear router/switch hooked
> to a DSL modem.
> 
> In the router I have turned off all the incoming ports except 22, and
> I have that one pointing at 192.168.0.3 which is my son's machine so
> he can ssh into his machine remotely. 
> 
> I would *also* like to ssh into *my* machine. How do I set that up? I
> have a very rudimentary understanding of networking (does it show?).

No problem at all.  Choose another port and forward it to the other
system's port 22.  Then invoke ssh from outside with the -p <portnumber>
option.  I do this all the time.  Hardest part is remembering which port
goes to which system inside, but if you use port number that correlate
to IP numbers (port 801 forwards to xxx.xxx.xxx.01, etc., it's easy).

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
		Nemesis Racing Team motto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030206/0806ee3b/attachment.pgp


More information about the Linux-users mailing list