ftp proxying possible?

Ed Wilts ewilts at ewilts.org
Thu Jan 26 14:52:28 UTC 2006


On Thu, Jan 26, 2006 at 08:59:00AM -0500, Marty Landman wrote:
> I'd like to enable some way for an outside client to access an SFTP server 
> on my LAN going through my RH9 gateway's IP. The target ftp server happens 
> to be on another rh9 box running the cli only, while my gateway has the 
> full install with desktop on it.
> 
> How could I start researching this? And is it best done from the desktop, 
> or command line?

The first thing to look at is if you're talking ftp or sftp.  Those two
are quite different, run on different ports, and have very different
security requirements.  SFTP is simply an SSH server that accepts
ftp-like syntax and runs on port 22.  Traffic is encrypted the whole
way.  FTP runs on ports 20 and 21 and has a nasty habit of dynamically
assigning ports for passive connections.

Secondly, you need to decide who's the client and who's the server.  You
don't have an sftp server talking to an ftp server.  Somebody is
initiating the connections, whether it's ftp or sftp.

        .../Ed

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list