rendered paste bodyServerName "FTO Server"
ServerType standalone
DeferWelcome off
ServerIdent on "Servidor ftp"
DefaultServer on
ShowSymlinks off
AllowOverwrite off
AllowRetrieveRestart yes
AllowStoreRestart yes
DirFakeGroup on
DirFakeUser on ftp
DirFakeMode 0777
TimeoutNoTransfer 600
TimeoutStalled 100
TimeoutIdle 200
DenyFilter \*.*/
Port 21
MaxInstances 2
AccessGrantMsg "-= Bienvenido %u, tu acceso ha sido realizado correctamente =-"
AccessDenyMsg "Estas intentando acceder a un servidor privado, tus datos de conexión han sido grabados, salga inmediatamente"
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
TransferLog /var/log/proftpd/transfer
ExtendedLog /var/log/proftpd/proftpd.down_up_log WRITE,READ write
ExtendedLog /var/log/proftpd/proftpd.auth_log AUTH auth
ExtendedLog /var/log/proftpd/proftpd.paranoid_log ALL default
DefaultRoot ~
AuthUserFile "/etc/passwd"
AuthGroupFile "/etc/group"
DefaultRoot ~
MaxClients 6 "Perdona, max %m usuarios -- Prueba después"
MaxClientsPerHost 2 "Solo 2 conexiones por HOST"
MaxClientsPerUser 2 "Solo 2 conexiones por usuario"
RequireValidShell off
<Limit LOGIN>
Order deny,allow
Deny from 10.0.0.1, 10.0.0.255
Allow
from all
</limit>
<Directory /ftp>
Umask 022
AllowOverwrite off
<Limit READ>
AllowAll
</Limit>
</Directory>
<Directory /ftp/subir>
Umask 022
AllowOverwrite on
<Limit READ WRITE>
DenyAll
</Limit>
<Limit STOR> AllowAll
</Limit>
</Directory>
<Anonymous /ftp/anonimo>
AccessGrantMsg "-= Bienvenido al FTP anonimo =-"
User ftp
Group nogroup
UserAlias anonymous ftp
RequireValidShell off
MaxClients 5
MaxClientsPerHost 1
MaxClientsPerUser 5
<Directory /ftp/anonimo>
Umask 077 077
AllowOverwrite off
</Directory>
</Anonymous>