Reference

Net::FTPServer::Proxy::Server(3pm)

Proxy FTP server

NAME

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

SYNOPSIS

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

DESCRIPTION

"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

"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

FILES

  /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

Richard Jones ([email protected]).

COPYRIGHT

Copyright (C) 2003 Richard Jones <[email protected]>

SEE ALSO

Net::FTPServer(3).