Net::FTPServer::Proxy::Server - Proxy FTP server
proxy-ftpd [-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 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
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: 184.108.40.206 proxy to: hostname1 [port] </Host> <Host proxy.bob.example.com> ip: 220.127.116.11 proxy to: hostname2 [port] </Host>
/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
Richard Jones (firstname.lastname@example.org).
Copyright (C) 2003 Richard Jones <email@example.com>