colega, ative os modulos do ftp.
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
deve funcionar.
se ok coloque para na inicialização no pc (rc.local ou coisa parecida)
sds
Versão Imprimível
colega, ative os modulos do ftp.
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
deve funcionar.
se ok coloque para na inicialização no pc (rc.local ou coisa parecida)
sds
Seguinte tem o diretorio /srv/ftp para o usuario anonimo?? e para ftp de usuarios eu descomento a linha #DefaultRoot ~ !rootCitação:
Postado originalmente por mbtec
falows
bom por default a para srv/ftp ja vem criada mas se não vir crie ela e de um chwon como nobody. a segunda opção e a melhor que funcionou com migo, pois tinha o mesmo problema que o seu. coloque na porta 2222, veio.
OBs: Talvez esta porta te ajude, pois também passei por este problema e com esta porta consegui resolver. flw.
Caros amigos,Citação:
Postado originalmente por LinuxKids
Estou na seguinte situação:
/etc/proftpd.conf
port 2121
/etc/services
ftp-data 2120\udp
ftp-data 2120\tcp
ftp 2121\tcp
ftp 2121\tcp
Pastas para FTP
chown ftp.ftp /srv/ftp/anonymous
chown nobody.nobody /srv/ftp/incoming
Squid
acl SafePorts port 21 20 2121 2120
http_access allow SafePorts
Estou testando fazendo estas configurações com
ADSL IP dinâmico, informando a cada conexão
ao usuário qual o ip que ele deve conectar.
Logo será fixo (com ip fixo ou no-ip)
Estou desconfiado do roteamento das placas
eth0 e eth1. Acho que não estou liberando a
passagem entre as duas.
Podem me auxiliar por favor?
Segue novo /etc/proftpd.conf
****************************
ServerName "ProFTPD - Default Instalation"
ServerType standalone
DefaultServer on
ScoreboardFile /var/run/proftpd/scoreboard
DeferWelcome on
ServerAdmin root@localhost
SyslogFacility AUTH
# Port 21 (ftp standard) is used in case of standalone more
Port 2121
# Umask 022 is a good default value to prevent new directories and
# files from being writable by the group or by other users
Umask 022
# To prevent DoS attacks, the max number of instances is limited to 30.
# If one wants to allow more then 30 simultaneous connectionva, just
# increment this value. This directive only applies if running in standalone
# mode
MaxInstances 30
# This option, if enabled, will make the users unable to access anything
# outside their home directory tree. READ THE DOCS!
DefaultRoot ~
# User and Group the server will run as
User nobody
Group nobody
<Directory /*>
AllowOverwrite no
</Directory>
# Default configuration for anonymous ftp, without an incoming directory.
<Anonymous /srv/ftp/anonymous>
User ftp
Group ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
UserAlias anonymous ftp
MaxClients 10 "Sorry, max %m users -- try again later"
MaxClientsPerHost 2 "Muitas conexões simultâneas - Tente mais tarde"
DisplayLogin welcome.msg
DisplayFirstChdir .message
AccessGrantMsg "Anonymous access granted for %u."
# # Write disabled in anonymous chroot
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory incoming>
Umask 022 022
<Limit READ WRITE>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>
****************************