![]() ![]() Reload the UFW rules by disabling and re-enabling UFW: sudo ufw disable To open port 21 (FTP command port), port 20 (FTP data port) and 30000-31000 (Passive ports range), run the following commands: sudo ufw allow 20:21/tcp Rsa_private_key_file=/etc/ssl/private/vsftpd.pem Then, open the FTP config file and add SSL path: sudo nano /etc/nfĪdd the lines: rsa_cert_file=/etc/ssl/private/vsftpd.pem ![]() Run the following command to generate a self-signed SSL certificate: sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem Save and close the file when done then restart vsftpd service: The configuration file is located at / etc/nf: sudo nano /etc/nfĪdd or uncomment the following lines if already added: listen=NO Once installed successfully, we go ahead to configure VSFTPD. Run the following commands to install the VSFTP server on the Linux Mint 20: sudo apt install vsftpd Installing the FTP server on Linux Mint systems. Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt commands in the terminal: sudo apt update Install FTP Server on Linux Mint 20 Ulyana We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |