

We’ll also open port 990 for TLS, which we will set up later. Let’s open ports 20 and 21 for FTP, and ports 40000-50000 for passive FTP. If you don’t want to set up a firewall, skip to Step 3. Before enabling ufw firewall, make sure you add a rule for SSH, otherwise you may get locked out of your server.

If you haven’t already done so, it is recommended that you enable the ufw firewall. └─31602 /usr/sbin/vsftpd /etc/nfįeb 03 23:59:12 myserver systemd: Starting vsftpd FTP server.įeb 03 23:59:12 myserver systemd: Started vsftpd FTP server.Ībove we can see our FTP server is now up and running. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: eĪctive: active (running) since Sat 23:59:12 UTC 16s ago To check the status of vsftpd, run sudo service vsftpd status sudo apt-get update sudo apt-get install vsftpd Let’s begin by updating the list of available packages and installing vsftpd.

If your FTP client supports SFTP, you should use it! Note on SFTP: It’s surprising how many devs are still unaware of SFTP and the advantages over FTP/FTPS.
