ssh all machines behind a router

Posted by Luc on Server Fault See other posts from Server Fault or by Luc
Published on 2010-03-21T13:45:10Z Indexed on 2010/03/21 13:51 UTC
Read the original article Hit count: 459

Filed under:
|
|

Hello, I have several machines on my lan. One is used as a http proxy to target web sites located on the others (that's working fine now thanks to ServerFault). On my router, Port 22 is NATed to this proxy machine. I would like to be able to access the other machines, within internet, with something like:

ssh user@first_machine.my_domain.tld ssh user@second_machine.my_domain.tld

Could I use the proxy machine to 'filter' the incoming ssh request and to route them to the correct machine ? (in the same way it's possible to do so for web sites using a mix of mod_proxy and namevirtualhost in Apache)

Thanks a lot, Luc

© Server Fault or respective owner

Related posts about ssh

Related posts about networking