Домой

Настройка ftp сервера VSFTPD


123.ru


Вот мой конфиг. vsftpd: version 3.0.2 Он работает.

Версии по мере разбирательства.

root@debian:~# cat /etc/vsftpd.conf | grep -v '#'
listen=YES
anonymous_enable=YES
no_anon_password=YES
anon_root=/var/ftp/anon
anon_upload_enable=YES
anon_mkdir_write_enable=YES
local_enable=YES
local_root=/var/ftp/local
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ftpd_banner=Welcome to blah FTP service.
chroot_local_user=YES
allow_writeable_chroot=YES
passwd_chroot_enable=YES
ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO

 

v.2

root@debian:/etc# cat /etc/vsftpd.conf | grep -v '#'
listen=YES
anonymous_enable=YES
no_anon_password=YES
anon_root=/var/ftp/anon
anon_upload_enable=YES
anon_umask=022
anon_mkdir_write_enable=YES
local_enable=YES
local_root=/var/ftp/local
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=NO
ftpd_banner=Welcome to blah FTP service.
chroot_local_user=YES
allow_writeable_chroot=YES
passwd_chroot_enable=YES
anon_mkdir_write_enable=YES
anon_upload_enable=YES
anon_other_write_enable=YES
download_enable=YES
ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO
log_ftp_protocol=YES

Letyshops [lifetime]