-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
jrp wrote:
> I have two linux machines, one windows, and two os x machines I would
> like to ssh to. I have one IP address supplied to me by my ISP, and my
> linksys router gives all the machines local addresses in the
> 192.168.1.xxx range. Right now I can ssh from outside my LAN to one
> machine by configuring the router to port forward the request to a
> certain machine on the network. However, is there any way I can choose
> which computer I want to ssh to when I'm outside of my LAN?
>
> Thanks in advance
>
> -john
>
It's not possible to use the same port to access different computers
behind a NAT router from outside. And you don't want your router to be
configurable by everyone, so you can't change the port forwarding
settings from outside.
However, you can forward different ports, maybe 22 to 26 (if they aren't
used, i.e. 23 is telnet) to your computers. Then you forward each port
to one computer, and set them up to listen on the right port. And from
the outside, you could access every computer by using its port.
Another possibility would be to ssh from a computer inside your network
once you've logged in it from outside. I mean, you log in on one
computer (always the same, because of port-forwarding), and from this
one, you log on the other system. It's a little 'bricolage', and using
sftp for instance would be more difficult.
NAT routing has been invented to 'hide' many private IPs behind a public
one, and that makes it difficult from outside to get in.
I hope this will help a little.
Greets
Bram4
- --
BIG BROTHER IS WATCHING YOU
www.anti-dmca.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFCZBAJsv7ahDE9W98RAtFnAJkB6RisUsuMx3Sj5jNbW/OjrTQz+wCghDAm
q9q15aXFaEAHxyBmSTIMeaQ=
=NKU8
-----END PGP SIGNATURE-----