Net::FTPServer::Proxy::Server - Proxy FTP server
proxy-ftpd.pl [-d] [-v] [-p port] [-s] [-S] [-V] [-C conf_file]
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.
Net::FTPServer::Proxy::Server
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.
proxy-ftpd.pl
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>
Richard Jones (rich@annexia.org).
Copyright (C) 2003 Richard Jones <rich@annexia.org>
Net::FTPServer(3).
Net::FTPServer(3)
To install Net::FTPServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FTPServer
CPAN shell
perl -MCPAN -e shell install Net::FTPServer
For more information on module installation, please visit the detailed CPAN module installation guide.