Configure proFTPd with TLS and IP address restriction

Configure proFTPd with TLS and IP address restriction

If you want to secure your proFTPD server to use TLS, follow these steps :

  • Edit the file proftpd.conf
    vi /etc/proftpd/proftpd.conf
  • If don’t need IPv6, disable it :
    UseIPv6 off
  • Force listening on one specific IP address and a specific port

  • Include the TLS config file :
    Include /etc/proftpd/tls.conf
  • Restrict the access to a specific IP address

  • Save and close the file proftpd.conf
  • Edit the file tls.conf to set the TLS parameters
    vi /etc/proftpd/tls.conf
  • Replace the content with these lines. For the certificate part, you can use letsencrypt services to get a free certificate

Comments are welcome

<>

My Powershell script categories

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: