blob: 99d64dca0c33e17c75fcf6cdae9af3d901f68e18 [file] [log] [blame]
TamasBakaid38feb62019-02-28 09:06:19 +00001# Server Config
2anonymous_enable=NO
3local_enable=YES
4write_enable=YES
5local_umask=022
6dirmessage_enable=YES
7
8# Security and User auth
9chroot_local_user=YES
10pam_service_name=vsftpd_virtual
11virtual_use_local_privs=YES
12chmod_enable=NO
13user_config_dir=/etc/vsftpd/user_conf
14user_sub_token=$USER
15#local_root=/srv/$USER
16local_root=/srv/
17userlist_enable=NO
18allow_writeable_chroot=YES
19
20# Logging
21log_ftp_protocol=YES
22xferlog_enable=YES
23xferlog_std_format=YES
24#xferlog_file=/dev/stdout
25syslog_enable=NO
26dual_log_enable=YES
27
28# Remap all login users to this username
29guest_enable=YES
30guest_username=ftp
31hide_ids=YES
32
33# Networking
34connect_from_port_20=NO
35listen=YES
36tcp_wrappers=YES
37pasv_min_port=8001
38pasv_max_port=8010
39
40# SSL
41ssl_enable=Yes
42require_ssl_reuse=NO
43force_local_data_ssl=YES
44force_local_logins_ssl=YES
45ssl_ciphers=HIGH
46allow_anon_ssl=NO
47
48ssl_tlsv1=YES
49ssl_sslv2=YES
50ssl_sslv3=YES
51rsa_cert_file=/etc/ssl/private/ftp.crt
52rsa_private_key_file=/etc/ssl/private/ftp.key
53
54require_cert=YES
55ssl_request_cert=YES
56ca_certs_file=/etc/ssl/private/dfc.crt
57