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.pl [-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 Richard Jones (rich@annexia.org).
46
48 Copyright (C) 2003 Richard Jones <rich@annexia.org>
49
51 Net::FTPServer(3).
52
53
54
55perl v5.36.0 2023-01-20 Net::FTPServer::Proxy::Server(3)