ftp port forwarding?

From: Lars Strand (larstra+news_at_ifi.uio.no)
Date: 10/23/03

  • Next message: Wolfram Greinert: "Re: no publickey auth with OpenSSH_3.7.1p2 and HPUX11i"
    Date: 23 Oct 2003 20:15:53 +0200
    
    

    Ok, so I would like to try the following:

    client(s) <---> A <---> B (ftp-server)

    When clients connect to a specified port on host A, A forwards
    that port through a ssh tunnel to the ftp-server at B. It should
    be transparent to the clients. It should also be able to handle
    more than one connection at the time.

    ex:
    1. client X connect to host A at port 3434.
    2. host A forwards that port through a tunnel to host B
    3. B is the chatting with the ftp-server and tunneling all
       ftp-traffic back to A.

    Is there a way to do this with ssh? Or is IPSec a better solution?

    Also, - is there a ratio patch to sftp-server (openssh)? I've been
    unable to find one.

    Thanks!

    -- 
    Lars Strand
    

  • Next message: Wolfram Greinert: "Re: no publickey auth with OpenSSH_3.7.1p2 and HPUX11i"

    Relevant Pages

    • Re: xhost: cannot connect to X server
      ... clients can connect from any host ... When I telnet from a Slackware client to the remote host running Lenny + ... accept incoming TCP + X ... If you can confirm that your server is listening on port 6000 then you ...
      (Debian-User)
    • Re: POP3 Connector time setting in SBS2003
      ... I have written both POP and SMTP clients and servers, ... Just port 25 - and if security is a concern, ... You can host your own mail quite easily with a dynamic IP. ... add-in to a server that isn't designed to handle it natively. ...
      (microsoft.public.windows.server.sbs)
    • Re: scp question
      ... you have to build a tunnel on host B to port 22 on host C: ... you should kill the original ssh tunnel. ...
      (comp.security.ssh)
    • Re: Each client gets the same port number
      ... >When I studied the trace I found out that both clients (on the same ... >host) get the same port. ...
      (comp.lang.java.help)
    • Re: keep port alive?
      ... Their port dropper seems to work by port, ... > not by host. ... So, even if I use ssh to the destination, the sftp link ... The tunnel has keepalives. ...
      (comp.os.linux.networking)