[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Problema FTP Debian



Buenas, fijate si proftp está ejecutando y escuchando en el puerto indicado, se me ocurre ejecutando: nmap localhost, ahora segun en config solo figura el usuario proftpd, ah tambien verifica si tienes un firewall activado, de ser asi configura para que pueda permitir el acceso desde el puerto deseado, ya que segun indicas es un error de conexión rechazada.

Si aún así no se soluciona el problema, te recomendaría instalar vsftp ;)

Saludos

El jul 14, 2012 12:13 a.m., "Juan" <jawifi01@gmail.com> escribió:
Buenas tardes, les consulto porque tengo un problema.

Estoy tratando de configurar un pequeño servidor FTP en mi casa y no
logro acertar a la configuracion, llevo dias leyendo y no puedo lograr
acceder via internet. Desde la lan si puedo.

El escenario es el siguiente:

tengo un dominio, accedo desde afuera a mi equipo debian sin
problemas, tengo el puerto 2821 abierto en el router, si pongo en el
navegador 192.168.0.5:2821 pide user y pass y listo, estoy en el
servidor, pero si ponfo ftp://midominio.com:2821 pide el usuario y la
clave y da error, (Error 102 (net::ERR_CONNECTION_REFUSED): El
servidor rechazó la conexión.)

No se que puedo estar haciendo mal.

Agradezco cualquier idea que me puedan dar.
Gracias a todos

Juan

Pego el contenido del archivo proftpd.conf:

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.

Include /etc/proftpd/modules.conf

UseIPv6                         on
IdentLookups                    off

ServerName                      "SVCJMJ"
ServerType                      standalone
DeferWelcome                    off

MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200
TimeoutLogin                    120
DisplayLogin                    welcome.msg
DisplayChdir                    .message true
ListOptions                     "-l"

UseReverseDNS                   off

DenyFilter                      \*.*/

DefaultRoot                     /home/ftp
DefaultRoot                     ~

RequireValidShell               off

Port                            2821

# PassivePorts                  49152 65534

# MasqueradeAddress             1.2.3.4

<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

MaxInstances                    30

# Set the user and group that the server normally runs at.
User                            proftpd
Group                           nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask                           022  022
# Normally, we want files to be overwriteable.
AllowOverwrite                  on

# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd              off

# This is required to use both PAM-based authentication and local passwords
# AuthOrder                     mod_auth_pam.c* mod_auth_unix.c

# UseSendFile                   off

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log

<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>

<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

   DisplayLogin                 welcome.msg
   DisplayChdir         .message

Include /etc/proftpd/conf.d/

<Limit LOGIN>
Order allow,deny
AllowUser javier,userpth
#AllowUser root
Deny all
</Limit>

# Mensaje si el pass es incorrecto:
AccessDenyMsg "Petición rechazada por el Servidor"
#mensaje de bievenida, %u significa el user que se conecte
AccessGrantMsg "Bienvenido %u al servidor ftp"

UseFtpUsers off

AllowStoreRestart               on

MaxInstances 8

ServerIdent                  on       "Servidor FTP"

MaxLoginAttempts    5


--
To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] CAFa+n8rhbqXoBeUExg19ZQGmPy84bV3mjLDw+13SDRC0J1P3KQ@mail.gmail.com" target="_blank">http://lists.debian.org/[🔎] CAFa+n8rhbqXoBeUExg19ZQGmPy84bV3mjLDw+13SDRC0J1P3KQ@mail.gmail.com


Reply to: