How to Install and Configure Proftpd on Linux
Proftpd is an open source, highly configurable and secure FTP server. It was designed to be light-weight even cannot hack on any other server.
Proftpd Easy configuration
Configure Multiple virtual FTP
anonymous FTP services.
Available secure code for administrator and developers
Allows SQL databases, LDAP servers, SSL/TLS encryption,
First, we need to download proftpd packages with latest version using wget command and extract that file from the archive you downloaded.
Configure and install proftpd by below executable commands,
Find out the installed location of Whereis command,
Good to know the version being used, configuration details, which modules have been installed, configuration file location everything can get by a single command,
Version: 1.3.5 (stable)
Platform: LINUX [Linux 2.6.32-71.29.1.el6.x86_64 x86_64]
Built: Fri Jun 27 2014 18:19:47 IST
configure '--prefix=/usr' '--with-includes=/usr/local/ssl/include' '--with-libraries=/usr/local/ssl/lib' '--enable-openssl' '--with-modules=mod_sftp' '--enable-dso'
CFLAGS: -O2 -Wall
LDFLAGS: -L$(top_srcdir)/lib -L/usr/local/ssl/lib
LIBS: -lssl -lcrypto -lssl -lcrypto -L$(top_srcdir)/lib/libcap -lcap -lpam -lcrypto -lz -lsupp -lcrypt -ldl
Shared Module Directory:
Configure Secure FTP :
We have to modify a few configuration for connecting secure FTP so, update below changes in proftpd. conf file.
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
# Port 21 is the standard FTP port.
# Don't use IPv6 support by default.
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
# Set the user and group under which the server will run.
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
# Normally, we want files to be overwriteable.
# Bar use of SITE CHMOD by default
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire section.
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
# Limit WRITE everywhere in the anonymous chroot
How to start, stop, restart proftpd,
Run below commands can start Proftpd every time the computer boots Linux.3
Once you have done the configuration start proftpd
Be ensure whether the proftpd is connecting to the port : 1591
#netstat -anp | grep proftpd
tcp 0 0 0.0.0.0:1591 0.0.0.0:* LISTEN 15377/proftpd
unix 2 [ ] DGRAM 78418226 15377/proftpd
Now, you can connecting secure FTP using Filezilla or any other file transfer tool.