Advertisement
durst_fred

vsftpd.conf

Dec 12th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. anonymous_enable=NO
  2. dirlist_enable=YES
  3. download_enable=YES
  4.  
  5. # Virtual users will use the same privileges as local users.
  6. # It will grant write access to virtual users. Virtual users will use the
  7. # same privileges as anonymous users, which tends to be more restrictive
  8. # (especially in terms of write access).
  9. virtual_use_local_privs=YES
  10. write_enable=YES
  11. local_enable=YES
  12. guest_enable=YES
  13.  
  14. # the PAM file used by authentication of virtual users
  15. pam_service_name=vsftpd.virtual
  16.  
  17. # specifies a home directory for each virtual user
  18. user_sub_token=$USER
  19. local_root=/var/www/virtual/$USER
  20.  
  21. # the virtual user is restricted to the virtual FTP area
  22. chroot_local_user=YES
  23.  
  24. # hides the FTP server user IDs and just display "ftp" in directory listings
  25. hide_ids=YES
  26.  
  27.  
  28. xferlog_std_format=NO
  29. xferlog_enable=YES
  30. vsftpd_log_file=/var/log/vsftpd.log
  31.  
  32. #Turn on verbose vsftpd log format.
  33. #The default vsftpd log file is /var/log/vsftpd.log:
  34. log_ftp_protocol=YES
  35.  
  36. # runs vsftpd in standalone mode
  37. listen=YES
  38. # listens on this port for incoming FTP connections
  39. listen_port=990
  40. listen_port=21
  41.  
  42. pasv_enable=YES
  43. pasv_min_port=60000
  44. pasv_max_port=60010
  45. pasv_promiscuous=YES
  46. pasv_addr_resolve=NO
  47. #pasv_address=[WAN IP]
  48. #port_promiscuous=YES
  49. #port_enable=YES
  50.  
  51. # controls whether PORT style data connections use port 20 (ftp-data)
  52. connect_from_port_20=YES
  53.  
  54. #file_open_mode=0666
  55.  
  56. # the umask for file creation
  57. local_umask=0022
  58.  
  59. ssl_enable=YES
  60. allow_anon_ssl=NO
  61. #force_local_data_ssl=NO
  62. #force_local_logins_ssl=YES
  63. require_ssl_reuse=NO
  64. ssl_tlsv1=YES
  65. ssl_sslv2=NO
  66. ssl_sslv3=NO
  67.  
  68. debug_ssl=YES
  69.  
  70. rsa_cert_file=/etc/vsftpd/vsftpd.pem
  71. rsa_private_key_file=/etc/vsftpd/vsftpd.pem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement