LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-08-2005, 03:02 AM   #1
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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
 
Old 11-08-2005, 10:35 PM   #2
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Rep: Reputation: 30
I know it's not a solution, but give proftpd a try. It's really good, and even M$ clients will work (MS IE).
 
Old 11-09-2005, 01:06 AM   #3
nordickiwi
Member
 
Registered: Oct 2004
Location: Stockholm Sweden
Distribution: Fedora 1-8,Familiar v0,7.2, Redhat 9.0, Knoppix, CentOS, Windows 2003,2000,XP,98,95, Exc
Posts: 39

Rep: Reputation: 15
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?
 
Old 11-09-2005, 11:39 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Original Poster
Rep: Reputation: 61
Hi,
Thanks for the replys.

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

Thanks
--Ian
 
Old 11-14-2005, 08:51 AM   #5
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd anonymous access impossible? SeriousArnoud Linux - Networking 2 11-25-2008 09:18 PM
vsftpd only can access for internal but not external bbmak Linux - Software 9 04-29-2005 08:36 PM
VSFTPD - Public Access - How? n8tgc Linux - Networking 5 02-15-2005 06:19 PM
vsftpd not allowing external access bubby Linux - Software 8 12-06-2004 11:48 AM
vsftpd no access with Linux box tryinlinux Linux - Security 1 09-30-2003 09:04 PM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration