Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

NAS Storage – File Transfer Protocol (FTP)

FTP Storage Configuration:


Step 1 — Installing vsftpd

sudo apt-get install vsftpd

Step 2 — Opening the Firewall

sudo ufw enable

sudo ufw allow 20/tcp

sudo ufw allow 21/tcp

sudo ufw status


Output

Status: active

To Action From

-- ------ ----

20/tcp ALLOW Anywhere

21/tcp ALLOW Anywhere

20/tcp (v6) ALLOW Anywhere (v6)

21/tcp (v6) ALLOW Anywhere (v6)

Step 3 — Configuring FTP Access

sudo nano /etc/vsftpd.conf

enable the user to upload files by uncommenting the write_enable setting:


/etc/vsftpd.conf
. . .

write_enable=YES

. . .

Restart the daemon to load the configuration changes:

sudo systemctl restart vsftpd

sudo systemctl status vsftpd

Host Configuration:

sudo ftp <FTP Storage IP address>

You might also like