1
0

proftpd.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ServerName "ProFTPD Default Installation"
  2. ServerType standalone
  3. DefaultServer on
  4. # Port 21 is the standard FTP port.
  5. Port 21
  6. # Don't use IPv6 support by default.
  7. UseIPv6 off
  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. # (such as xinetd).
  17. MaxInstances 30
  18. # Set the user and group under which the server will run.
  19. User nobody
  20. Group nogroup
  21. # To cause every FTP user to be "jailed" (chrooted) into their home
  22. # directory, uncomment this line.
  23. #DefaultRoot ~
  24. # Normally, we want files to be overwriteable.
  25. AllowOverwrite on
  26. # Bar use of SITE CHMOD by default
  27. <Limit SITE_CHMOD>
  28. DenyAll
  29. </Limit>
  30. # A basic anonymous configuration, no upload directories. If you do not
  31. # want anonymous users, simply delete this entire <Anonymous> section.
  32. <Anonymous ~ftp>
  33. User ftp
  34. Group ftp
  35. # We want clients to be able to login with "anonymous" as well as "ftp"
  36. UserAlias anonymous ftp
  37. # Limit the maximum number of anonymous logins
  38. MaxClients 10
  39. # We want 'welcome.msg' displayed at login, and '.message' displayed
  40. # in each newly chdired directory.
  41. DisplayLogin welcome.msg
  42. DisplayChdir .message
  43. # Limit WRITE everywhere in the anonymous chroot
  44. <Limit WRITE>
  45. DenyAll
  46. </Limit>
  47. </Anonymous>