Custom PASV settings for the server
|Reported by:||thejcab||Owned by:||Tim Kosse|
|Keywords:||Cc:||thejcab, Tim Kosse|
|Component version:||Operating system type:|
|Operating system version:|
When running a FTP server from behind a NAT router,
you need to be able to specify to the server which IP
address to use for PASV transfers. Cannot use the IP
address from the socket because that IP address is
only valid within the local network, and is
inaccessible from the other side of the router.
So, this patch allows you to configure:
- Wether the IP address is customized.
- The actual IP address.
- A range of ports that will be used in a rotating
The range of ports is necessary because, in order to
be able to forward connection requests to local
machnes, the router needs to know those ports. You
could always tell the router to forward all ports 1 to
65535, but that's hardly appropriate.
I have this updated server currently running at:
The files there are temporary Spirit (another
SourceForge project) tests. In case you were curious.
If you want to see what the resulting server looks
like, I put it here for download: