Re: Port forwarding examples

From: Stephen Carviille (stephen@heronforge.net)
Date: 02/26/02


From: Stephen Carviille <stephen@heronforge.net>
Date: Tue, 26 Feb 2002 18:35:12 GMT

Betty Kelly wrote:

> Does anyone have any good examples of how to setup port forwarding. I
> have an external client
> that need to access my FTP server running under OpenSSH. Port 22 is the
> standard port used for the connection, but this port is not available to
> the client because of a corporate firewall. In addition when attempting to
> connect to my SSH server no replies are sent, we believe this is because
> the
> corporate firewall is also blocking the replies. The only ports
> currently
> open are 21 and 80. I can put in requests for other ports, but I need to
> understand the connection better.
>
> I think I need to specify some passive ports to use in the connection, but
> am looking for some ideas
> documentation to help me out.

AKAIK it is not practical to forward FTP over ssh. The control channel can
be readily forwrded but the data channel is difficult to get working right.
 Unless you have a pressing need for FTP, I suggest sftp instead. As for
the port, ssh can be told to run on any port. If your firewall is too
restrictive, there is a trick where you ssh _out_ from inside a firewalled
network and use remote port forwarding (-R option) to let the remote client
back in using telnet, ssh. http. etc.



Relevant Pages

  • Re: RDC port change
    ... As for the SSH, I use SSh myself and for my clients where I can. ... There is a mac client, ... remote control...... ... By the way lol, the problem with the RDC port is fixed, it seems.... ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: thin client com ports
    ... I'm glad that you got at least one more client working! ... MCSE, CCEA, Microsoft MVP - Terminal Server ... the COM port settings? ... I am testing several thin clients. ...
    (microsoft.public.windows.terminal_services)
  • Re: network installation manager
    ... there is a firewall between master and client machines, ... NIM Communication within a Firewall Environment ... master via nimclient calls to the nimesis daemon. ... reserved port range of 1023-513. ...
    (comp.unix.aix)
  • Re: Secure / Encrypt Terminal Services
    ... SSH port forwarding should work. ... Then connect with your SSH client. ...
    (Focus-Microsoft)
  • help: using smtp.gmail.com as SMART_HOST
    ... with my Google gmail address. ... is pop.gmail.com, using port 995. ... Retrieving mail is not the problem since my Google searches ... client, I believe the term is) to send my mail to Google's ...
    (comp.mail.sendmail)