Table of Contents

Information

Prerequisites

Dependencies

su -
pkg install 'vsftpd-ssl'

Firewall

sudo firewall-cmd --add-port='20/tcp' --permanent && sudo firewall-cmd --add-port='21/tcp' --permanent && sudo firewall-cmd --add-port='40000-50000/tcp' --permanent && sudo firewall-cmd --reload

Service

su -
sysrc vsftpd_enable="YES" 
service 'vsftpd' start

Settings

General

su -
ee '/usr/local/etc/vsftpd.conf' && service 'vsftpd' restart
# Custom
listen=YES
background=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
#pasv_enable=YES
#pasv_max_port=50000
#pasv_min_port=40000
local_root=/NAS
force_dot_files=YES

Drives

Permissions

chown

su -
chown -R 'espionage724':'espionage724' '/NAS' && sync

chmod

su -
chmod -R '774' '/NAS' && sync