Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i am trying to make my ftp server accessible (for download only) by other computers on my LAN using anonymous user and without password, when i connect to it from the same pc using filezilla it works well but when trying from other PCs on the LAN it says

Status: Connection established, waiting for welcome message...
Error: Could not connect to server

iam using Ubuntu 11.04 and this is my configuration:

vsftpd.conf :

anon_root=/home/ftp
no_anon_password=YES
listen=YES
anonymous_enable=YES
local_enable=NO
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
ftpd_banner=Welcome to blah FTP service.
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem

the directory /home/ftp permission:

drwxr-xr-x  2 root     root     4096 2012-02-04 19:39 ftp

i think since it says "connection established" there is no problem with the iptables right? and the selinux is not installed either! i have lost many hours on this problem :'( !! any help please..

share|improve this question

1 Answer 1

Just because it says connection established does not mean there is no iptables issue. Try stopping your firewall first, since you are not saying if you are using active or passive ftp. The other thing you can try is stopping apparmor (if installed).

/etc/init.d/apparmor stop
share|improve this answer
    
my firewall is off i forgot to mention that.. i used "ufw disable " –  marz Feb 5 '12 at 4:18
    
and since i didn't put pasv_enable=NO it is by default YES as i read in the man page, but yes i think it is ports issue because as i read the ftp uses 2 ports one for control and the other for data transfer and i think the problem is with the data transfer ports! –  marz Feb 5 '12 at 4:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.