Net::FTPServer::Proxy::Server - Proxy FTP server


Net-FTPServer documentation  | view source Contained in the Net-FTPServer distribution.

Index


NAME

Top

Net::FTPServer::Proxy::Server - Proxy FTP server

SYNOPSIS

Top

  proxy-ftpd [-d] [-v] [-p port] [-s] [-S] [-V] [-C conf_file]

DESCRIPTION

Top

Net::FTPServer::Proxy::Server is a "reverse proxy" FTP server which just forwards requests through to another FTP server. You can use it for firewalls, for example.

CONFIGURATION

Top

Net::FTPServer::Proxy::Server can only proxy to one FTP server for each virtual host. In other words, it doesn't make remote servers appear as subdirectories or anything like that, since the FTP authentication protocol makes this very hard.

You will need to start the FTP server using the proxy-ftpd.pl script.

To proxy a single server, you need this global configuration file entry:

 proxy to: hostname [port]

To proxy multiple servers using IP-based virtual hosts, use:

 enable virtual hosts: 1

 <Host proxy.bob.example.com>
   ip: 1.2.3.4
   proxy to: hostname1 [port]
 </Host>

 <Host proxy.bob.example.com>
   ip: 1.2.3.5
   proxy to: hostname2 [port]
 </Host>

METHODS

Top

FILES

Top

  /etc/ftpd.conf
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/DirHandle.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/FileHandle.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Handle.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/Server.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/DirHandle.pm
  /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/FileHandle.pm

AUTHORS

Top

Richard Jones (rich@annexia.org).

COPYRIGHT

Top

SEE ALSO

Top

Net::FTPServer(3).


Net-FTPServer documentation  | view source Contained in the Net-FTPServer distribution.