Skip to content

Instantly share code, notes, and snippets.

@feuerrot
Created December 29, 2018 15:01
Show Gist options
  • Save feuerrot/63b1f8577e2d37541a0e6827585e4f4d to your computer and use it in GitHub Desktop.
Save feuerrot/63b1f8577e2d37541a0e6827585e4f4d to your computer and use it in GitHub Desktop.
vsftpd configuration
listen_ipv6=YES
listen=NO
anonymous_enable=YES
write_enable=YES
local_umask=022
anon_umask=0022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
chown_username=ftp
chown_upload_mode=0644
ftpd_banner=lynx makes *meow*
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
pasv_enable=Yes
pasv_max_port=10100
pasv_min_port=10000
seccomp_sandbox=NO
anon_other_write_enable=YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment