The following section describes the fundamental configuration of the FTP-Proxy. It assumes, that you have successfully compiled and installed the FTP-Proxy.
The proxy uses a configuration file ftp-proxy.conf you have to edit before the proxy can be used - it is needed to configure at least the variables described in this section. For a complete list of valid configuration options consult the ftp-proxy.conf(5) manual page and the sample configuration file ftp-proxy.conf.sample file which comes with the distribution.
First, you have to choose, if you wand to start the proxy
as a stand-alone daemon or via "(x)inetd" super daemon using
the ServerType
configuration option (or the start
arguments). If nothing specified, "inetd" mode is assumed.
See also section
Local System Security.
In stand-alone daemon mode, the proxy defaults to listen on the
FTP port 21 and all interfaces. You can override this using the
Port
and Listen
configuration options.
The next step you have to do, is to choose, if the Proxy should run in "inbound" or in "outbound" mode. See the section Inbound and Outbound FTP Traffic.
Now, the proxy should be able to run and serve the client requests. The proxy follows the FTP transfer mode the client has choosed.
You can override this behaviour setting the option
DestinationTransferMode
to either active or
passive instead of the default client, and
the proxy will be forced to use the specified FTP transfer mode
for all transfers it does between the proxy and the ftp server.
Most common usage is to force the proxy to use passive
transfers only.