How to Install ProFTPD on Ubuntu 24.04
ProFTPD installation on Ubuntu 24.04 involves a straightforward command using the APT package manager.
ProFTPD is a popular FTP server software that helps you transfer files reliably between computers over a network, and it can be set up to use strong security with TLS/SSL.
Setting up your own FTP server on Ubuntu 24.04 is achievable by following a few steps.
This guide shows you how to get ProFTPD running and adjust basic settings for safe file hosting.
Install ProFTPD on Ubuntu 24.04 using the command sudo apt update && sudo apt install proftpd-core. After installation, configure basic settings by editing the proftpd.conf file and restart the service with sudo systemctl restart proftpd.
Install ProFTPD
On Ubuntu, you can install ProFTPD using the command below. There are no additional packages to install since ProFTPD packages are included in Ubuntu’s default repositories.
sudo apt update
sudo apt install proftpd-core
Once installed, its default configuration file is at [/etc/proftpd/proftpd.conf].
Configure basic settings
Configure ProFTPD basic settings by editing its main configuration file, proftpd.conf. You’ll open this file using the command `sudo nano /etc/proftpd/proftpd.conf` on your Ubuntu 24.04 system. Then, you can adjust the server settings to make ProFTPD work just the way you need it to.
sudo nano /etc/proftpd/proftpd.conf
Then, adjust the server settings based on your environment.
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
# Comment out to turn off IPv6 if you don't need it
#UseIPv6 on
#
#Change the server name to match your environment
ServerName "proftpd.example.com"
# Use this to jail all users in their homes
# line 39 : uncomment (specify root directory for chroot)
DefaultRoot ~
#
..........
..........
Save the file and exit.
The ftpusers file controls which accounts cannot access the FTP server. You run the command below to open the ftpusers file, which lists these restricted accounts for ProFTPD on Ubuntu 24.04.
sudo nano /etc/ftpusers
root
Save and exit the file, then restart Pro-FTPD.
sudo systemctl restart proftpd
At this point, you should be able to access Pro-FTPD using any FTP client. All user accounts not included in the ftpusers file will be granted access.

Access ProFTPD over SSL/TLS
Access ProFTPD over SSL/TLS to secure your data transfers with encryption, like a private, safe tunnel. You can use a certificate from a public provider or create your own self-signed certificate specifically for ProFTPD on your Ubuntu 24.04 system. This setup enables strong SSL/TLS encryption for your FTP connections.
Use a public certificate like Let’s Encrypt or a self-signed on your server.
For this post, we’ll be creating a self-signed certificate for ProFTPD.
Run the command below to generate a self-signed certificate to use with ProFTPD.
sudo openssl req -x509 -nodes -newkey rsa:3072 -keyout proftpd.pem -out proftpd.pem -days 3650
When prompted, enter the certificate details.
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:NY
Locality Name (eg, city) []:Brooklyn
Organization Name (eg, company) [Internet Widgits Pty Ltd]:GeekRewind
Organizational Unit Name (eg, section) []:IT
Common Name (e.g. server FQDN or YOUR name) []:proftpd.example.com
Email Address []:
sudo cp proftpd.* /etc/ssl/private
sudo chmod 600 /etc/ssl/private/proftpd.pem
Next, install the Pro-FTPD SSL module by running the command below.
sudo apt install proftpd-mod-crypto
After installing the module, run the command below to open its configuration file.
sudo nano /etc/proftpd/modules.conf
Update the lines below in the file to reference the new certificates.
# Install proftpd-mod-crypto to use this module for TLS/SSL support.
# Uncomment to enable SSL/TLS
LoadModule mod_tls.c
........
........
Save the exit the file.
Next, reopen the Pro-FTPD configuration file.
sudo nano /etc/proftpd/proftpd.conf
Then, uncomment line #143 to include the TLS configuration.
# This is used for FTPS connections
#
Include /etc/proftpd/tls.conf
#
Save the file and exit.
Next, open the Pro-FTPD TLS configuration file.
sudo nano /etc/proftpd/tls.conf
Uncomment
#Uncomment the lines below and update the TLS protocol.
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol TLSv1.3
#
#
#Uncomment lines 27/8 and specify the certificates created above.
TLSRSACertificateFile /etc/ssl/private/proftpd.pem
TLSRSACertificateKeyFile /etc/ssl/private/proftpd.pem
#
#
Exit and save the file, then restart Pro-FTPD services by running the command below.
sudo systemctl restart proftpd
With SSL/TLS configured, open your FTP client and set up the sites to use SSL/TLs.

Since we used a self-signed certificate when prompted to trust it, OK.

Now, Pro-FTPD is communicating over SSL/TLS.

That should do it!
Conclusion:
- ProFTPD Installation: Installing ProFTPD on Ubuntu 24.04 is straightforward, requiring minimal setup.
- Secure Communication: Configuring SSL/TLS enhances security, ensuring safe data transmission.
- Customization: ProFTPD allows customization of server settings to fit specific user needs.
- Reliable Performance: Known for its stability, ProFTPD is a trusted choice for file transfers.
- User Access Control: Utilizing the
ftpusersfile helps manage which users can access the FTP server. - Self-Signed Certificates: A self-signed certificate can provide an immediate solution for secure connections.
You can effectively set up and secure your ProFTPD server for efficient file management by completing the outlined installation and configuration steps.
What is the best FTP program for Ubuntu?
In short, FileZilla is the best FTP client on Ubuntu for 95% of users. It's free and includes all the most useful features. On Ubuntu Server, lFTP and NcFTP are suitable alternatives for the command-line interface.
How do I install FTP on Linux?
Most Linux systems come with the FTP command already installed, but if yours doesn’t, you can easily install FTP on Ubuntu or other Debian-based systems using `sudo apt-get install ftp`.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!