Multiple hops tunnels howto

Posted by ard on Server Fault See other posts from Server Fault or by ard
Published on 2011-07-05T10:03:35Z Indexed on 2014/06/01 21:35 UTC
Read the original article Hit count: 119

Filed under:
|

I wonder if anyone is able to help me with multiple tunnel hops for servers...

basically my setup looks something like this...

[desktop01]=====[server01]=====[server02]---------[machine01]
                                         \--------[machine02]
                                          \-------[machine03]
                                           \------[machine04]

I want to setup some ssh tunnels so that from my desktop I can ssh directly to machine01 through 04 without having to ssh to each box in between in turn...

So desktop01 can only see server01, server02 can only accept connections from server01 and machines 01 to 04 only accept connections from server02.

Can anyone help as im really stuck with this.

Thank you in advance :)

© Server Fault or respective owner

Related posts about ssh

Related posts about ssh-tunnel