Bom to com o problema de acesso externo ao FTP, entao decidi tentar configura-lo, a configuraçao é a seguinte
# To really apply changes reload proftpd after modifications.
AllowOverwrite on
AuthAliasOnly on
# Aqui tem o ALIAS caso deseje adicionar o usuario que voce criou
UserAlias (duvida) lucio
# Mude o nome do servidor para um de sua escolha
ServerName "Site"
ServerType standalone
DeferWelcome on
MultilineRFc2228 on
DefaultServer on
ShowSymlinks off
TimeoutNoTransfer 600
TimeoutStalled 100
TimeoutIdle 2200
DisplayChdir .message
ListOptions "-l"
RequireValidShell off
TimeoutLogin 20
RootLogin on
# It's better for debug to create log files
ExtendedLog /var/log/ftp.log
TransferLog /var/log/xfer.log
SystemLog /var/log/syslog.log
UseFtpUsers off
# Allow to restart a download
AllowStoreRestart on
# Porta de funcionamento do PROFTPD. Porta padrao 21
Port 5212
MaxInstances 300
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Umask 022 is a good standard umask to prevent new files and dirs
Umask 022 022
PersistentPasswd off
MaxClients 8
MaxClientsPerHost 8
MaxClientsPerUser 8
MaxHostsPerUser 8
AccessGrantMsg "Bem-Vindo!!!"
ServerIdent on
DefaultRoot /var/www/site
DefaultRoot ~
MaxLoginAttempts 5
# Aqui no AllowUser se voce mudou o nome do usuario do FTP mude aqui tambem.
<Limit LOGIN>
AllowUser lucio
Deny all
</Limit>
<Directory /var/www/site/*>
Umask 022 022
AllowOverwrite on
<Limit ,READ RMD DELE >
DenyAll
</Limit>
<Limit STOR CWD MKD>
AllowAll
</Limit>
</Directory>
Bom la encima no UserAlias pelo tutorial estava "sauron", mas ate entao nao entendi ao certo o q colocar ali, e quando eu salvo esta configuraçao so proftpd eu nao consigo acessar o ftp nem internamente, fica dando erro "530 Login incorrect." isso mesmo com o usuario correto, nao estou conseguindo axar o erro.
alguma dica?