forked from wildscamp/docker-vsftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvsftpd.conf
63 lines (55 loc) · 1.08 KB
/
vsftpd.conf
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
###
# Config file for vsftpd
###
# Daemon options
listen=YES
listen_ipv6=NO
session_support=NO
# Log In Options and Access Controls
anonymous_enable=NO
ftpd_banner=Hello world!
local_enable=YES
pam_service_name=vsftpd
# Local User Options
chmod_enable=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
guest_enable=YES
guest_username=ftp
local_umask=0022
anon_umask=0022
file_open_mode=0777
user_config_dir=/etc/vsftpd/vusers
user_sub_token=$USER
local_root=/home/virtual/$USER
# Directory Options
dirlist_enable=YES
dirmessage_enable=NO
force_dot_files=NO
hide_ids=NO
ls_recurse_enable=NO
use_localtime=YES
# File Transfer Options
download_enable=YES
chown_uploads=NO
write_enable=YES
# Logging Options
dual_log_enable=NO
log_ftp_protocol=NO
syslog_enable=NO
vsftpd_log_file=/var/log/vsftpd.log
xferlog_enable=YES
xferlog_std_format=NO
# Network Options
connect_from_port_20=YES
listen_port=21
max_clients=25
pasv_enable=YES
pasv_address=changeme
pasv_min_port=changeme
pasv_max_port=changeme
pasv_promiscuous=NO
port_enable=YES
# Tweak
seccomp_sandbox=NO
#allow_writeable_chroot=YES