Skip to content
Follow
Ubuntu Linux

How to Install ProFTPD on Ubuntu 24.04

Richard
Written by
Richard
Feb 24, 2025 Updated Jul 13, 2026 5 min read
How to Install ProFTPD on Ubuntu 24.04
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.

⚡ Quick Answer

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.

🐧Bash / Shell
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.

🐧Bash / Shell
sudo nano /etc/proftpd/proftpd.conf

Then, adjust the server settings based on your environment.

💻Code
# 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.

🐧Bash / Shell
sudo nano /etc/ftpusers
⚠️Warning
Add your account name to the file to prohibit access. Add other accounts on separate lines to prevent more users from accessing FTP.
💻Code
root

Save and exit the file, then restart Pro-FTPD.

🐧Bash / Shell
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.

vsftpd install Ubuntu
vsftpd install Ubuntu

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.

🐧Bash / Shell
sudo openssl req -x509 -nodes -newkey rsa:3072 -keyout proftpd.pem -out proftpd.pem -days 3650

When prompted, enter the certificate details.

💻Code
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 []:
⚠️Warning
After generating the certificates, copy them into the [/etc/ssl/private] directory.
🐧Bash / Shell
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.

🐧Bash / Shell
sudo apt install proftpd-mod-crypto

After installing the module, run the command below to open its configuration file.

🐧Bash / Shell
sudo nano /etc/proftpd/modules.conf

Update the lines below in the file to reference the new certificates.

💻Code
# 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.

🐧Bash / Shell
sudo nano /etc/proftpd/proftpd.conf

Then, uncomment line #143 to include the TLS configuration.

💻Code
# This is used for FTPS connections
#

Include /etc/proftpd/tls.conf

#

Save the file and exit.

Next, open the Pro-FTPD TLS configuration file.

🐧Bash / Shell
sudo nano /etc/proftpd/tls.conf

Uncomment

💻Code
#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.

🐧Bash / Shell
sudo systemctl restart proftpd

With SSL/TLS configured, open your FTP client and set up the sites to use SSL/TLs.

proftpd ssl connection
proftpd ssl connection

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

ftp self-signed certificate
ftp self-signed certificate

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

Terminal window showing the ProFTPD installation process on Ubuntu 24.04
Terminal window showing the ProFTPD installation process on Ubuntu 24.04

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 ftpusers file 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?

Was this helpful?
Richard

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.

📚 Related Tutorials

How to Create a Self-Signed SSL Certificate on Ubuntu 24.04
Ubuntu Linux How to Create a Self-Signed SSL Certificate on Ubuntu 24.04
How to Re-enable TLS 1.0 and 1.1 on Windows 11
Windows How to Re-enable TLS 1.0 and 1.1 on Windows 11
How to Install Additional Software on Ubuntu
Ubuntu Linux How to Install Additional Software on Ubuntu
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *