Skip to content

Instantly share code, notes, and snippets.

@amenpunk
Last active July 4, 2020 00:29
Show Gist options
  • Save amenpunk/9adf7582588590a5adbbcd6be31f19af to your computer and use it in GitHub Desktop.
Save amenpunk/9adf7582588590a5adbbcd6be31f19af to your computer and use it in GitHub Desktop.
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
ftpd_banner=Welcome To ftp service
chroot_local_user=YES
user_sub_token=$USER
local_root=/home/$USER/ftp/
userlist_enable=YES
userlist_file=/etc/vsftp.user_list
userlist_deny=NO
ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
utf8_filesystem=YES
local_umask=770
pasv_enable=Yes
pasv_min_port=30000
pasv_max_port=35000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment