Advertisement
rhandom

ProFTPD Config

Aug 17th, 2013
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. # This is a basic ProFTPD configuration file (rename it to
  2. # 'proftpd.conf' for actual use. It establishes a single server
  3. # and a single anonymous login. It assumes that you have a user/group
  4. # "nobody" and "ftp" for normal operation and anon.
  5.  
  6. ServerName "ProFTPD Default Installation"
  7. ServerType standalone
  8. DefaultServer on
  9.  
  10. # Port 21 is the standard FTP port.
  11. Port 21
  12.  
  13. # Don't use IPv6 support by default.
  14. UseIPv6 off
  15.  
  16. # Umask 022 is a good standard umask to prevent new dirs and files
  17. # from being group and world writable.
  18. Umask 022
  19.  
  20. # To prevent DoS attacks, set the maximum number of child processes
  21. # to 30. If you need to allow more than 30 concurrent connections
  22. # at once, simply increase this value. Note that this ONLY works
  23. # in standalone mode, in inetd mode you should use an inetd server
  24. # that allows you to limit maximum number of processes per service
  25. # (such as xinetd).
  26. MaxInstances 30
  27.  
  28. # Set the user and group under which the server will run.
  29. User nobody
  30. Group nobody
  31.  
  32. # To cause every FTP user to be "jailed" (chrooted) into their home
  33. # directory, uncomment this line.
  34. #DefaultRoot ~
  35.  
  36. # Normally, we want files to be overwriteable.
  37. AllowOverwrite on
  38.  
  39. # Bar use of SITE CHMOD by default
  40. <Limit SITE_CHMOD>
  41. DenyAll
  42. </Limit>
  43.  
  44. # A basic anonymous configuration, no upload directories. If you do not
  45. # want anonymous users, simply delete this entire <Anonymous> section.
  46. <Anonymous ~ftp>
  47. User ftp
  48. Group ftp
  49.  
  50. # We want clients to be able to login with "anonymous" as well as "ftp"
  51. UserAlias anonymous ftp
  52.  
  53. # Limit the maximum number of anonymous logins
  54. MaxClients 10
  55.  
  56. # We want 'welcome.msg' displayed at login, and '.message' displayed
  57. # in each newly chdired directory.
  58. DisplayLogin welcome.msg
  59. DisplayChdir .message
  60.  
  61. # Limit WRITE everywhere in the anonymous chroot
  62. <Limit WRITE>
  63. DenyAll
  64. </Limit>
  65. </Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement