On Sun, 2010-03-21 at 17:29 +0100, Niki Kovacs wrote:
Les Mikesell a écrit :
You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at the different IP addresses on the inside. Then you only have to change the client settings for access from outside. I'd move both of them away from port 22 on the outside, though - you'll avoid a lot of password guessing attempts that will happen otherwise.
Sorry, but I don't quite follow you. (One of these cases where I feel my IQ is just a bit insufficient :oD)
You can access multiple machines behind one single IP by machine name or DNS host1.net.com:22 host2.net.com 2203 .....
How can I possibly access two distinct machines behind one single IP address when they run SSH on the same port ?
Or, I'll reformulate my question more simply.
I have a router with *one* public IP address (213.41.141.252). And behind that router, on the local network, I have two different machines: 192.168.1.2 and 192.168.1.3.
I'm confused.
Yes you are.
John