47 lines
1.1 KiB
Plaintext
Executable File
47 lines
1.1 KiB
Plaintext
Executable File
listen=YES
|
|
listen_ipv6=NO
|
|
anonymous_enable=NO
|
|
local_enable=YES
|
|
write_enable=YES
|
|
local_umask=022
|
|
dirmessage_enable=YES
|
|
use_localtime=YES
|
|
xferlog_enable=YES
|
|
connect_from_port_20=YES
|
|
chroot_local_user=YES
|
|
secure_chroot_dir=/var/run/vsftpd/empty
|
|
pam_service_name=vsftpd
|
|
rsa_cert_file=/etc/ssl/certs/sftp.ubuntu.dnaclab.net.pem
|
|
rsa_private_key_file=/etc/ssl/private/sftp.ubuntu.dnaclab.net.key
|
|
ssl_enable=NO
|
|
pasv_enable=YES
|
|
pasv_min_port=10000
|
|
pasv_max_port=10100
|
|
allow_writeable_chroot=YES
|
|
|
|
# Below verbose log is for transfer/upload, formatted for common tools stats.
|
|
# Use command: tail -f /var/log/xferlog
|
|
xferlog_enable=YES
|
|
xferlog_file=/var/log/xferlog
|
|
xferlog_std_format=YES
|
|
|
|
# Below verbose log is for FTP commands and responses.
|
|
# By default, logs were written to syslog instead of file.
|
|
# Use command: tail -f /var/log/vsftpd.log
|
|
# Use command: logread -f
|
|
|
|
log_ftp_protocol=YES
|
|
vsftpd_log_file=/var/log/vsftpd.log
|
|
syslog_enable=YES
|
|
|
|
# Allow log 1 and 2 to be written simultaneously.
|
|
|
|
dual_log_enable=YES
|
|
|
|
#Directory configuration and user access
|
|
|
|
local_root=/home/administrator/Desktop/SFTP
|
|
userlist_enable=YES
|
|
userlist_file=/etc/vsftpd.userlist
|
|
userlist_deny=NO
|