Advertisement
b1scu1t

proftpd.conf

Mar 19th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. <IfModule mod_lang.c>
  2. UseEncoding on
  3. </IfModule>
  4. ###
  5.  
  6. ###### Installation information
  7. ServerName "Debian"
  8. ServerType standalone
  9. DefaultServer on
  10. DefaultAddress 0.0.0.0
  11. ###
  12.  
  13. ###### Modules
  14. LoadModule mod_ratio.c
  15. LoadModule mod_readme.c
  16. ###
  17.  
  18. ###### EDIT THESE NAMES using you Feral user-name
  19. User user1
  20. Group user1
  21. ###
  22.  
  23. ###### EDIT THESE PATHS if NOT using the script
  24. AuthUserFile /home/user1/proftpd/etc/ftpd.passwd
  25. AuthGroupFile /home/user1/proftpd/etc/ftpd.group
  26. ###
  27.  
  28. ###### PORT SETTINGS
  29. # Leave these settings. Change the ports in the sftp.conf or the ftps.conf
  30. # These two settings below disable some default behavior and restrict listening to what is defined in the sftp.conf and ftps.conf
  31. SocketBindTight on
  32. port 0
  33. ###
  34.  
  35. ###### Options
  36. UseIPv6 off
  37. Umask 022
  38. DefaultTransferMode binary
  39. AllowOverwrite on
  40. AllowOverride off
  41. RequireValidShell off
  42. PersistentPasswd off
  43. WtmpLog off
  44. MaxInstances 100
  45. MaxClients 100
  46. dentLookups off
  47. UseReverseDNS off
  48. ProcessTitles terse
  49. ###
  50.  
  51. ## Permissions
  52. # The way this setup works is deny by default. Except for your main user.
  53. # From here you will create rules to allow access and powers. I hope this makes sense.
  54.  
  55. # Limits all FTP commands except login for all users.
  56. # Overides All limits for a specific user. Our main user.
  57. <Limit ALL>
  58. AllowUser user1
  59. # Replace my_username with the username if NOT using the script
  60. DenyAll
  61. </Limit>
  62. #
  63. ###### Allows read only and download access to a jailed location.
  64. # Please check the FAQ section on jailing users.
  65. # Note: You need to specify a users root/home directory when using ftpasswd
  66. #
  67. # rutorrent data
  68. <Directory /home/user1/>
  69. # STAT LSTAT are specific to SFTP only. See below
  70. <Limit STAT LSTAT DIRS READ>
  71. AllowAll
  72. </Limit>
  73. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement