Skip to content

Instantly share code, notes, and snippets.

@azeredogab
Created November 5, 2019 20:55
Show Gist options
  • Save azeredogab/2ed42ad8dbaa253439a432091b96ced0 to your computer and use it in GitHub Desktop.
Save azeredogab/2ed42ad8dbaa253439a432091b96ced0 to your computer and use it in GitHub Desktop.
Configuração do VSFTPD que funciona
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=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
pasv_enable=Yes
pasv_min_port=40000
pasv_max_port=50000
user_sub_token=$USER
local_root=/home/$USER/ftp
userlist_enable=YES
userlist_file=/etc/vsftpduserlist.conf
userlist_deny=NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment