Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerType standalone
- DefaultServer on
- MultilineRFC2228 on
- UseReverseDNS off
- MaxInstances 30
- #IdentLookups off
- RootLogin off
- User ftp
- Group ftp
- RequireValidShell off
- ShowSymlinks on
- DefaultAddress 192.168.0.1 111.111.11.111
- TimeoutLogin 120
- TimeoutIdle 600
- TimeoutNoTransfer 900
- TimeoutStalled 3600
- DeleteAbortedStores on
- AllowStoreRestart on
- Umask 002
- AllowOverwrite off
- DefaultRoot ~
- SystemLog /var/log/proftpd/proftpd.log
- SysLogLevel info
- TransferLog /var/log/proftpd/transef.log
- ExtendedLog /var/log/proftpd/read-write.log read,write
- ExtendedLog /var/log/proftpd/auth.log AUTH
- <IfModule mod_lang_c>
- LangEngine on
- LangDefault en_US
- UseEncoding on
- UseEncoding UTF8 CP1251
- </IfModule>
- <VirtualHost domain.ru>
- ServerName "domain.ru_sftp"
- RequireValidShell off
- ShowSymlinks on
- TimeoutLogin 120
- TimeoutIdle 600
- TimeoutNoTransfer 900
- TimeoutStalled 3600
- SFTPEngine on
- SFTPHostKey /etc/ssh/ssh_host_dsa_key
- SFTPHostKey /etc/ssh/ssh_host_rsa_key
- PassivePorts 49241 49260
- DeleteAbortedStores on
- ShowSymlinks on
- AllowStoreRestart on
- Port 2122
- DefaultRoot ~
- Umask 002
- MaxClients 20 "Sorry, max %m users -- try again later"
- MaxClientsPerHost 5 "Sorry, max 5 connection per host"
- MaxLoginAttempts 3 "Sorry, max 3 login -- try again later"
- DenyFilter \*.*/
- <IfModule mod_sftp.c>
- SFTPEngine on
- SFTPLog /var/log/proftpd/sftp.log
- Port 2122
- SFTPHostKey /etc/ssh/ssh_host_rsa_key
- SFTPHostKey /etc/ssh/ssh_host_dsa_key
- SFTPAuthorizedUserKeys file:~/.sftp/authorized_keys
- SFTPCompression delayed
- MaxLoginAttempts 6
- </IfModule>
- <Limit LOGIN>
- Order allow,deny
- Allow from all
- </Limit>
- <GLOBAL>
- AllowOverwrite no
- </GLOBAL>
- </VirtualHost>
- <VirtualHost domain.ru>
- ServerName "domain.ru_ftp"
- ShowSymlinks on
- RequireValidShell off
- TimeoutLogin 120
- TimeoutIdle 600
- TimeoutNoTransfer 900
- TimeoutStalled 3600
- SFTPEngine off
- PassivePorts 49221 49240
- DeleteAbortedStores on
- ShowSymlinks on
- AllowStoreRestart on
- Port 21
- DefaultRoot ~
- Umask 002
- MaxClients 20 "Sorry, max %m users -- try again later"
- MaxClientsPerHost 10 "Sorry, max 5 connection per host"
- MaxLoginAttempts 3 "Sorry, max 3 login -- try again later"
- DenyFilter \*.*/
- AllowOverwrite off
- <Limit LOGIN>
- Order allow,deny
- Allow from all
- </Limit>
- <GLOBAL>
- AllowOverwrite no
- </GLOBAL>
- </VirtualHost>
- <VirtualHost 192.168.0.1>
- ServerName "local_ftp"
- ShowSymlinks on
- RequireValidShell off
- TimeoutLogin 120
- TimeoutIdle 600
- TimeoutNoTransfer 900
- TimeoutStalled 3600
- SFTPEngine off
- PassivePorts 49201 49220
- DeleteAbortedStores on
- ShowSymlinks on
- AllowStoreRestart on
- Port 21
- DefaultRoot ~
- Umask 002
- MaxClients 20 "Sorry, max %m users -- try again later"
- MaxClientsPerHost 10 "Sorry, max 5 connection per host"
- MaxLoginAttempts 3 "Sorry, max 3 login -- try again later"
- DenyFilter \*.*/
- <Limit LOGIN>
- Order allow,deny
- Allow from all
- </Limit>
- <GLOBAL>
- AllowOverwrite no
- </GLOBAL>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement