Vsftpd Configuration Options - Red Hat ENTERPRISE LINUX 3 Reference Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

216
14.4.1. Starting Multiple Copies of
Sometimes one computer is used to serve multiple FTP domains. This is a technique called multihom-
ing. One way to multihome using
own configuration file.
To do this, first assign all relevant IP addresses to network devices or alias network devices on the
system. Refer to the chapter titled Network Configuration in Red Hat Enterprise Linux System Admin-
istration Guide for more information about configuring network devices and device aliases. Additional
information can be found about network configuration scripts in Chapter 8 Network Interfaces.
Next, the DNS server for the FTP domains must be configured to reference the correct machine. If the
DNS server is running on Red Hat Enterprise Linux, refer to the chapter titled BIND Configuration
in Red Hat Enterprise Linux System Administration Guide for instructions about using the Domain
Name Service Configuration Tool (
configuration files, refer to Chapter 12 Berkeley Internet Name Domain (BIND).
For
to answer requests on different IP addresses, multiple copies of the daemon must be
vsftpd
running. The first copy must be run using the
and Stopping
vsftpd
Each additional FTP site must have a configuration file with a unique name in the
directory, such as
/etc/vsftpd/vsftpd-site-2.conf
and writable only by root. Within each configuration file for each FTP server listening on an IPv4
network, the following directive must be unique:
listen_address=N.N.N.N
Replace N.N.N.N with the unique IP address for the FTP site being served. If the site is using IPv6,
use the
listen_address6
Once each additional server has a configuration file, the
root shell prompt using the following command:
vsftpd /etc/vsftpd/ configuration-file
In the above command, replace
configuration file, such as
Other directives to consider altering on a per-server basis are:
anon_root
local_root
vsftpd_log_file
xferlog_file
For a detailed list of directives available within
Configuration Options.
vsftpd
To configure any additional servers to start automatically at boot time, add the above command to the
end of the
/etc/rc.local
14.5.
Configuration Options
vsftpd
Although
may not offer the level of customization other widely available FTP servers have,
vsftpd
it offers enough options to fill most administrator's needs. The fact that it is not overly feature-laden
limits configuration and programmatic errors.
vsftpd
redhat-config-bind
. This copy uses the standard configuration file,
directive instead.
configuration-file with the unique name for the server's
/etc/vsftpd/vsftpd-site-2.conf
file.
vsftpd
is by running multiple copies of the daemon, each with its
). For information about BIND and its
initscripts, as outlined in Section 14.4 Starting
vsftpd
. Each configuration file must be readable
vsftpd
&
's configuration file, refer to Section 14.5
vsftpd
Chapter 14. FTP
/etc/vsftpd/vsftpd.conf
/etc/vsftpd/
daemon must be launched from a
.
.

Advertisement

Table of Contents
loading

Table of Contents