Skip to content

Instantly share code, notes, and snippets.

@miticojo
Created June 3, 2016 10:11
Show Gist options
  • Save miticojo/b283f948731620dfe08216f58eeef85a to your computer and use it in GitHub Desktop.
Save miticojo/b283f948731620dfe08216f58eeef85a to your computer and use it in GitHub Desktop.
VSFTPD 2.2 - CENTOS/RHEL - working configuration - local user, no passive, no anonymous
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ls_recurse_enable=NO
listen_port=21
connect_from_port_20=NO
listen=YES
background=YES
chroot_local_user=YES
check_shell=NO
pam_service_name=vsftpd
userlist_enable=YES
local_root=/fsdata/ftp/$USER
user_sub_token=$USER
local_max_rate=1000000
max_clients=50
max_per_ip=10
anon_world_readable_only=YES
hide_ids=YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment