Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerType standalone
- DefaultServer on
- Umask 022
- ServerName "192.168.10.250"
- ServerIdent on "ftp.ujmekk.hu"
- ServerAdmin gzoli@ujmekk
- IdentLookups off
- UseReverseDNS off
- Port 21
- PassivePorts 55991 57000
- TimesGMT off
- MaxInstances 30
- MaxLoginAttempts 3
- TimeoutLogin 600
- TimeoutNoTransfer 300
- TimeoutIdle 300
- DisplayLogin welcome.msg
- DisplayChdir .message
- User ftp
- Group ftpadmin
- DirFakeUser off nobody
- DirFakeGroup off nobody
- DefaultTransferMode binary
- AllowForeignAddress off
- AllowRetrieveRestart on
- AllowStoreRestart on
- DeleteAbortedStores on
- TransferRate RETR 220
- TransferRate STOR 250
- TransferRate STOU 250
- TransferRate APPE 250
- SystemLog /var/log/secure
- RequireValidShell off
- <IfModule mod_tls.c>
- TLSEngine on
- TLSRequired off
- TLSVerifyClient off
- TLSProtocol SSLv23
- TLSLog /var/log/proftpd_tls.log
- TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
- TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
- TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
- TLSRenegotiate none
- TLSOptions NoCertRequest EnableDiags NoSessionReuseRequired
- </IfModule>
- <IfModule mod_ratio.c>
- Ratios off
- SaveRatios off
- RatioFile "/restricted/proftpd_ratios"
- RatioTempFile "/restricted/proftpd_ratios_temp"
- CwdRatioMsg "Please upload first!"
- FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
- ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
- LeechRatioMsg "Your ratio is unlimited."
- </IfModule>
- <Limit LOGIN>
- AllowUser user1
- AllowUser user2
- DenyALL
- </Limit>
- <Anonymous /srv/ftp/user1_ftp>
- User user1
- Group ftpadmin
- AnonRequirePassword on
- MaxClients 3 "The server is full, hosting %m users"
- DisplayLogin welcome.msg
- DisplayChdir .msg
- <Limit LOGIN>
- Allow from All
- Deny from all
- </Limit>
- AllowOverwrite on
- <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 >
- AllowAll
- </Limit>
- <Limit SITE SITE_CHMOD SITE_CHGRP MTDM >
- DenyAll
- </Limit>
- </Anonymous>
- <Anonymous /srv/ftp>
- User user2
- Group ftpadmin
- AnonRequirePassword on
- MaxClients 3 "The server is full, hosting %m users"
- DisplayLogin welcome.msg
- DisplayChdir .msg
- <Limit LOGIN>
- Allow from All
- Deny from all
- </Limit>
- AllowOverwrite on
- <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 >
- AllowAll
- </Limit>
- <Limit SITE SITE_CHMOD SITE_CHGRP MTDM >
- DenyAll
- </Limit>
- </Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment