ftp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
listen=YES
local_enable=NO #локальные пользователи
#указываем директорию с конфигурациями наших пользователей
user_config_dir=/etc/vsftpd/vusers
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
userlist_file=/etc/vsftpd/user_list
userlist_enable=YES
userlist_deny=NO
write_enable=YES
dirmessage_enable=YES
#chown_uploads=YES
#chown_username=ftp
anon_root=/var/ftp
anon_umask=0002
file_open_mode=0777
xferlog_enable=NO
idle_session_timeout=300
data_connection_timeout=50
ftpd_banner=Just one fix!!
chroot_list_enable=NO
userlist_enable=NO
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
max_per_ip=5
max_clients=5
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
connect_from_port_20=YES
anon_upload_enable=YES
anon_world_readable_only=NO
dual_log_enable=YES
#convert_charset_enable=YES
#local_charset=UTF8
#remote_charset=CP1251
#remote_charset=UTF8