I have 3 pc running linux:
- A is my PC, a client
- B is a server that can be directly reached from A, ssh server
- C is a FTP server that can be directly reached from B, but not from A
I need FTP transfer from C to A. I have a working ssh connection from A to B with local port forwarding (ssh user@host -L 1234:127.0.0.1:1234) and I need something else maybe like nc (netcat) to be able to use my browser on A with an URL like ftp://ftpuser:email@example.com:1234
. So the netcat (or what) should act as a relay or proxy. How would you solve that? Actually without writing a C program - as I try to avoid this and save myself some work
So any idea?