You are not logged in.

#1 2017-11-16 03:11:55

voxelator
Member
Registered: 2017-11-16
Posts: 1

vsftpd: can't have anonymous + local users + userlist + SSL?

Hello
I'm trying to configure vsftpd this way :

- read only anonymous access in /srv/ftp folder with no password
- read/write local users access in their home dir...
- ... restricted by userlist (user in list is allowed)
- SSL enabled

If I have userlist and SSL enabled, then anonymous access is broken.

here's my vsftpd.conf :

listen=YES
local_enable=YES
write_enable=YES
local_umask=022

dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES

nopriv_user=ftpsecure
ftpd_banner=VoxFtp

userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list

anonymous_enable=YES
anon_root=/srv/ftp/
no_anon_password=YES
anon_upload_enable=NO
anon_umask=022
anon_mkdir_write_enable=NO
anon_other_write_enable=NO

listen_port=36562

ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
rsa_private_key_file=/etc/ssl/certs/vsftpd.pem

hide_ids=YES

If anyone can help me please.. I'm stuck. thank you big_smile

Edit : didn't paste the right file, fixed, sorry.

Last edited by voxelator (2017-11-16 03:23:12)

Offline

Board footer

Powered by FluxBB