[How To] Install FTP Server (VSFTPD) on Ubuntu 20.04 (2020) #1
Hi, in this video I will show 🎞 you How To install and configure VSTFPD server on Ubuntu 20.04.
For this tutorial, I am using Ubuntu server 20.04 and VSFTPD (Very Secure File Transfer Protocol Daemon).
📢 Make sure to Subscribe, ✅ so you don’t Miss out on my future Videos 📽🎞 ▶ https://www.youtube.com/channel/UCWQAnj6I7VG25xo8B-1mI1g/?sub_confirmation=1 💯✅
00:00 Introduction
00:24 Install VSFTPD Server
01:33 Configure Firewall
03:48 Create FTP User
06:35 VSFTPD Server Configuration
08:05 Test FTP Connection
#FTP_Server
#FTP_Server_Ubuntu
#VSFTPD
The instructions should be applicable to other Linux Ubuntu versions.
** Install VSFTPD Server :
– Open Terminal
– sudo apt update
– sudo apt install vsftpd
– sudo service vsftpd status
** Configure Firewall :
– sudo ufw allow 20/tcp
– sudo ufw allow 21/tcp
– sudo ufw allow 40000:50000/tcp
– sudo ufw allow 990/tcp
– sudo ufw allow openssh
– sudo ufw enable
– sudo ufw status
** Create FTP User:
– sudo adduser ftpuser
– sudo mkdir /home/ftpuser/ftp
– sudo chown nobody:nogroup /home/ftpuser/ftp
– sudo chmod a-w /home/ftpuser/ftp
– sudo mkdir /home/ftpuser/ftp/files
– sudo chown ftpuser:ftpuser /home/ftpuser/ftp/files
** VSFTPD Server Configuration :
– sudo vi /etc/vsftpd.conf
listen=NO
listen_ipv6=YES
anonymos_enable=NO
local_enable=YES
write_enable=YES
local_mask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
force_dot_files=YES
pasv_min_port=400000
pasv_max_port=500000
user_sub_token=$USER
local_root=/home/$USER/ftp
– sudo systemctl restart vsftpd.service
** Test FTP Connection
– We recommend FileZilla, which works on Windows, Mac and Linux : https://filezilla-project.org/
We recommended to secure your FTP server, you can watch the second video which describes the steps of securing an FTP server : 📽 🎞 ▶ https://youtu.be/N7hwrPiji3c
✍✍✍ Let me know what you think of this video in the comments ✍✍✍
📢 Make sure to Subscribe ✅ so you don’t Miss out on my future Videos 📽 🎞 ▶ https://www.youtube.com/channel/UCWQAnj6I7VG25xo8B-1mI1g/?sub_confirmation=1 💯✅
👉 Follow me on Facebook ✅ : https://www.facebook.com/TechnIN
Thanks for watching 📽 🎞 !!!
by TechIN
linux ftp server