proftpd.conf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This is a basic ProFTPD configuration file
  2. # It establishes a single server and a single anonymous login.
  3. ServerName "ProFTPD Default Installation"
  4. ServerType standalone
  5. DefaultServer on
  6. # Port 21 is the standard FTP port.
  7. Port 21
  8. # Umask 022 is a good standard umask to prevent new dirs and files
  9. # from being group and world writable.
  10. Umask 022
  11. # To prevent DoS attacks, set the maximum number of child processes
  12. # to 30. If you need to allow more than 30 concurrent connections
  13. # at once, simply increase this value. Note that this ONLY works
  14. # in standalone mode, in inetd mode you should use an inetd server
  15. # that allows you to limit maximum number of processes per service
  16. MaxInstances 30
  17. # Set the user and group that the server normally runs at.
  18. User proftpd
  19. Group proftpd
  20. # To cause every FTP user to be "jailed" (chrooted) into their home
  21. # directory, uncomment this line.
  22. #DefaultRoot ~
  23. # Normally, files should be overwritable.
  24. <Directory /*>
  25. AllowOverwrite on
  26. </Directory>
  27. # A basic anonymous configuration, no upload directories.
  28. <Anonymous ~proftpd>
  29. User proftpd
  30. Group proftpd
  31. # Clients should be able to login with "anonymous" as well as "proftpd"
  32. UserAlias anonymous proftpd
  33. # Limit the maximum number of anonymous logins
  34. MaxClients 10
  35. # 'welcome.msg' should be displayed at login, and '.message' displayed
  36. # in each newly chdired directory.
  37. DisplayLogin welcome.msg
  38. DisplayChdir .message
  39. # Limit WRITE everywhere in the anonymous chroot
  40. <Limit WRITE>
  41. DenyAll
  42. </Limit>
  43. </Anonymous>