Last active
April 1, 2016 19:03
-
-
Save jonathonbyrdziak/44dc064fd28346887d2919b2d56e548a to your computer and use it in GitHub Desktop.
vsftpd configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pam_service_name=vsftpd | |
userlist_enable=YES | |
tcp_wrappers=YES | |
## Custom setup of SFTP | |
ssl_enable=YES | |
allow_anon_ssl=NO | |
force_local_data_ssl=YES | |
force_local_logins_ssl=YES | |
ssl_tlsv1=YES | |
ssl_sslv2=NO | |
ssl_sslv3=NO | |
require_ssl_reuse=NO | |
ssl_ciphers=HIGH | |
rsa_cert_file=/etc/ssl/private/vsftpd.pem | |
rsa_private_key_file=/etc/ssl/private/vsftpd.pem | |
# define port range for passive mode connections | |
pasv_max_port=74535 | |
pasv_min_port=73000 | |
listen_port=2122 | |
## LOGGING | |
#xferlog_enable=YES | |
#xferlog_std_format=NO | |
#xferlog_file=/var/log/vsftpd.log | |
#log_ftp_protocol=YES | |
#debug_ssl=YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment