GZolee79

Untitled

Oct 18th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. ServerType standalone
  2. DefaultServer on
  3. Umask 022
  4. ServerName "192.168.10.250"
  5. ServerIdent on "ftp.ujmekk.hu"
  6. ServerAdmin gzoli@ujmekk
  7. IdentLookups off
  8. UseReverseDNS off
  9. Port 21
  10. PassivePorts 55991 57000
  11. TimesGMT off
  12. MaxInstances 30
  13. MaxLoginAttempts 3
  14. TimeoutLogin 600
  15. TimeoutNoTransfer 300
  16. TimeoutIdle 300
  17. DisplayLogin welcome.msg
  18. DisplayChdir .message
  19. User ftp
  20. Group ftpadmin
  21. DirFakeUser off nobody
  22. DirFakeGroup off nobody
  23. DefaultTransferMode binary
  24. AllowForeignAddress off
  25. AllowRetrieveRestart on
  26. AllowStoreRestart on
  27. DeleteAbortedStores on
  28. TransferRate RETR 220
  29. TransferRate STOR 250
  30. TransferRate STOU 250
  31. TransferRate APPE 250
  32. SystemLog /var/log/secure
  33. RequireValidShell off
  34. <IfModule mod_tls.c>
  35. TLSEngine on
  36. TLSRequired off
  37. TLSVerifyClient off
  38. TLSProtocol SSLv23
  39. TLSLog /var/log/proftpd_tls.log
  40. TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
  41. TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
  42.  
  43. TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
  44. TLSRenegotiate none
  45.  
  46. TLSOptions NoCertRequest EnableDiags NoSessionReuseRequired
  47.  
  48.  
  49.  
  50.  
  51. </IfModule>
  52. <IfModule mod_ratio.c>
  53. Ratios off
  54. SaveRatios off
  55. RatioFile "/restricted/proftpd_ratios"
  56. RatioTempFile "/restricted/proftpd_ratios_temp"
  57. CwdRatioMsg "Please upload first!"
  58. FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
  59. ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
  60. LeechRatioMsg "Your ratio is unlimited."
  61. </IfModule>
  62. <Limit LOGIN>
  63. AllowUser user1
  64. AllowUser user2
  65. DenyALL
  66. </Limit>
  67.  
  68. <Anonymous /srv/ftp/user1_ftp>
  69. User user1
  70. Group ftpadmin
  71. AnonRequirePassword on
  72. MaxClients 3 "The server is full, hosting %m users"
  73. DisplayLogin welcome.msg
  74. DisplayChdir .msg
  75. <Limit LOGIN>
  76. Allow from All
  77. Deny from all
  78. </Limit>
  79. AllowOverwrite on
  80. <Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
  81. AllowAll
  82. </Limit>
  83. <Limit SITE SITE_CHMOD SITE_CHGRP MTDM >
  84. DenyAll
  85. </Limit>
  86. </Anonymous>
  87.  
  88. <Anonymous /srv/ftp>
  89. User user2
  90. Group ftpadmin
  91. AnonRequirePassword on
  92. MaxClients 3 "The server is full, hosting %m users"
  93. DisplayLogin welcome.msg
  94. DisplayChdir .msg
  95. <Limit LOGIN>
  96. Allow from All
  97. Deny from all
  98. </Limit>
  99. AllowOverwrite on
  100. <Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
  101. AllowAll
  102. </Limit>
  103. <Limit SITE SITE_CHMOD SITE_CHGRP MTDM >
  104. DenyAll
  105. </Limit>
  106. </Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment