1Net::FTPServer::Proxy::USseerrveCro(n3t)ributed Perl DocNuemte:n:tFaTtPiSoenrver::Proxy::Server(3)
2
3
4
6 Net::FTPServer::Proxy::Server - Proxy FTP server
7
9 proxy-ftpd [-d] [-v] [-p port] [-s] [-S] [-V] [-C conf_file]
10
12 "Net::FTPServer::Proxy::Server" is a "reverse proxy" FTP server which
13 just forwards requests through to another FTP server. You can use it
14 for firewalls, for example.
15
17 "Net::FTPServer::Proxy::Server" can only proxy to one FTP server for
18 each virtual host. In other words, it doesn't make remote servers
19 appear as subdirectories or anything like that, since the FTP
20 authentication protocol makes this very hard.
21
22 You will need to start the FTP server using the "proxy-ftpd.pl" script.
23
24 To proxy a single server, you need this global configuration file
25 entry:
26
27 proxy to: hostname [port]
28
29 To proxy multiple servers using IP-based virtual hosts, use:
30
31 enable virtual hosts: 1
32
33 <Host proxy.bob.example.com>
34 ip: 1.2.3.4
35 proxy to: hostname1 [port]
36 </Host>
37
38 <Host proxy.bob.example.com>
39 ip: 1.2.3.5
40 proxy to: hostname2 [port]
41 </Host>
42
45 /etc/ftpd.conf
46 /usr/lib/perl5/site_perl/5.005/Net/FTPServer.pm
47 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/DirHandle.pm
48 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/FileHandle.pm
49 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Handle.pm
50 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/Server.pm
51 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/DirHandle.pm
52 /usr/lib/perl5/site_perl/5.005/Net/FTPServer/Proxy/FileHandle.pm
53
55 Richard Jones (rich@annexia.org).
56
58 Copyright (C) 2003 Richard Jones <rich@annexia.org>
59
61 Net::FTPServer(3).
62
63
64
65perl v5.12.0 2003-10-17 Net::FTPServer::Proxy::Server(3)