Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.