Hello there,
I have a big problem, and I hope somebody can help me. I try to realize a port forward over three server. Here is a picture...
Client Server1 | Server2
------- ------- | -------
|...... | |...... | | |...... |
|...... | |...... | | |...... |
|...... | |...... | | |...... |
|...... | |...... | | |...... |
------- ------- | -------
Server2 is behind a firewall. Server1 is able to connect via ssh to server2.
The Client is able to connect via ssh to Server1.
From Server1 I can make a port forward like this.
Server1> ssh -L 1111:server2:2222 server2
This works fine.
But I want to connect the Port 1111 from the Client.
Client> ssh -L 1111:server1:1111 server1
This did not help.
What is wrong?
All the servers are UNIX servers.
Many thanks for your help!