Net::FT...::Server(3)

πŸ“¦
version 1.125 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

okay so bestie, meet Net::FTPServer::Proxy::Server β€” it's a proxy FTP server ✨

(it lives in the Net::FTPServer::Proxy::Server family of man pages, in case you were wondering where you wandered into πŸ¦‹)


🌸 SYNOPSIS 🌸

like, this is literally how you run it:

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

that's the whole vibe. copy it, love it, respect it πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so Net::FTPServer::Proxy::Server is a "reverse proxy" FTP server, which just forwards requests through to another FTP server. no cap. it doesn't do anything to them, it just… passes them along 🫢

and bestie, you can use it for firewalls, for example. it's giving very much "i'm the middleman and i'm thriving" 😌


✨ CONFIGURATION ✨

okay real talk, here's the tea β˜•

Net::FTPServer::Proxy::Server can only proxy to one FTP server for each virtual host. in other words β€” and i need you to hear me on this β€” it does not 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. periodt.

🌈 proxying a single server

to proxy a single server, you need this global configuration file entry:

proxy to: hostname [port]

simple. iconic. no notes πŸ’…

πŸ¦‹ proxying multiple servers

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>

look at those hosts. they're eating. πŸ”₯


πŸ’… METHODS πŸ’…

okay so… not me opening this section and finding absolutely nothing in it 😭 the original page lists the heading and then just moves right along. no methods here, bestie. that's the whole section. we respect it anyway 🫢


πŸ‘‘ AUTHORS πŸ‘‘

Richard Jones (rich@annexia.org). πŸ’–


Copyright (C) 2003 Richard Jones <rich@annexia.org>


🌸 SEE ALSO 🌸


and that's the page, bestie πŸŽ€ this lil beauty comes to you from perl v5.42.0, dated 2025-07-25, and it's from the User Contributed Perl Documentation collection β€” go forth and proxy responsibly βœ¨πŸ’œ

πŸ“¦ where this page comes from