Saturday, July 11, 2009

vsftpd configuration; CHROOT and SSL

vsftp.conf
------------------------
listen=YES
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
chroot_local_user=YES
chroot_list_enable=NO
xferlog_enable=YES
chown_username=root
chown_uploads=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
ssl_enable=YES
#allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
------------------------

No comments:

Post a Comment

tag ur valuable ideas below