I have 2 servers: server1 and server2. I can't use server1's 8080 port directly only throughout server2 Now I do port-forwarding in such way:
ssh -4 -L 8080:server1:8080 user@server2
and I could connect to the first server by this address:
But I want to connect by this address:
How can I do this?