Autor Tópico: Problemas com Proftpd  (Lida 1773 vezes)

Offline mori

  • Usuário Ubuntu
  • *
  • Mensagens: 29
    • Ver perfil
    • http://www.jabasoft.info
Problemas com Proftpd
« Online: 27 de Abril de 2006, 18:38 »
e ai galera do forum......

estou com um problema com o meu PROFTPD, coloquei um servidor com samba pra rodar, com apache2 até ai tudo bem, instalei o proftpd e de dentro da minha rede eu acesso normalmente, mas quando quero acessar de fora nao consigo.

ele acha, e pede o usuario e senha, mas diz que

nao tem permissão de acesso na pasta.




valew....

Offline Imigrante

  • Usuário Ubuntu
  • *
  • Mensagens: 145
    • Ver perfil
Re: Problemas com Proftpd
« Resposta #1 Online: 16 de Maio de 2007, 12:39 »
Estou com o mesmo problema no GPROFTPD.
O tópico que criei sobre o problema é : http://ubuntuforum-pt.org/index.php?topic=18943.0
Vc conseguiu resolver?

Meu proftpd.conf (/etc/proftpd.conf):

Código: [Selecionar]
ServerType standalone
DefaultServer on
Umask 022
ServerName "imigrante.no-ip.info"
ServerIdent on "Imigrante"
ServerAdmin imigrante@msn.com
IdentLookups on
UseReverseDNS on
Port 2121
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT on
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 60
TimeoutIdle 60
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 0
TransferRate STOR 0
TransferRate STOU 0
TransferRate APPE 0
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
  AllowUser fernanda
  AllowUser vitor
  AllowUser comum
  AllowUser imigrante
  DenyALL
</Limit>

<Anonymous /var/ftp/fernanda>
User fernanda
Group fernanda
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp/vitor>
User vitor
Group vitor
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp/comum>
User comum
Group comum
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit APPE  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /var/ftp>
User imigrante
Group imigrante
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .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  SITE  SITE_CHMOD  SITE_CHGRP  MTDM  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit NOTHING >
 DenyAll
</Limit>
</Anonymous>

Ao tentar acesso externo, o servidor ftp solicita user e psw mas não acessa.

Abraços...
« Última modificação: 16 de Maio de 2007, 15:30 por Imigrante »
Imigrante