LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VSFTPD can't access files (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-cant-access-files-381016/)

IBall 11-08-2005 03:02 AM

VSFTPD can't access files
 
Hi,
I am trying to set up an ftp server on my Debain Sarge box. I installed vsftpd using apt-get.

If I try "ftp 192.168.1.2", which is my machine, I can login and list all the files in my home directory. I can also download and uplaod files.

However, If I try "ftp 203.xxx.xxx.xxx", which is the IP address of my machine on the Internet, I can login but I can't get a listing of the directory contents. If I try the ls command, the connection appears to hang.

My router forwards ports 20 and 21, and my firewall allows inbound connections on these ports as well. I am assuming that the problem is with my firewall, seeing as I can use the ftp server on my local machine.

Any help would be appreciated
--Ian

wwnexc 11-08-2005 10:35 PM

I know it's not a solution, but give proftpd a try. It's really good, and even M$ clients will work (MS IE).

nordickiwi 11-09-2005 01:06 AM

What do you see in the vsftp log which you should find under var/log/vsftp.log. And which kernal are you using? Do you have SELinux installed?

IBall 11-09-2005 11:39 PM

Hi,
Thanks for the replys.

I have installed proftpd, but I get the same problem.

Thanks
--Ian

pk21 11-14-2005 08:51 AM

It sounds like a firewall problem. There are 2 methods of establishing a ftp connection(active and passive). Passive uses random ports and could get dropped by your firewall, maybe you can try an active ftp session.


All times are GMT -5. The time now is 09:49 PM.