SSH tunnelling to connect FTP server through a router: ports to enroute?
I'm trying to make an SSH tunnelling to connect an FTP server at '254.60.X.X' (a public server) through '192.168.2.103' (a private Linux machine within my LAN).
Behind my LAN I've got a router with this two ports enrouted:
The steps I make:
# ssh -l remoteuser -L 2121:254.60.X.X:21 192.168.2.103 cat -
# lftp -u john,xxxx -p 2121 localhost
It works with lftp (since a 2121 server is created on my local machine), but it doesn't work with a graphical client (I use gFTP). I open gFTP, I connect localhost:2121, but it hangs. In addition, my router hangs too.
Does anybody have any experience? Which ports must I enroute?
Thank you very much