LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-29-2004, 03:03 PM   #1
mvanadel
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
ftp trouble


Hello,

I've recently set up an ftp server on my computer running fedora core 2. I used the "security level" tool to config iptables to allow ftp connections. When I try to log in from my laptop at work (also fedora core 2) I am able to log on to the server, but when I type a command (e.g., ls) I get the message:

227 Entering Passive Mode (25,96,112,10,236,254)
ftp: connect: Connection timed out

Interestingly, when I try to log in from Windows XP, there's no problem--I can see my directory, transfer files, etc.

The trouble persists even when I disable the firewall on my laptop. Anybody have any ideas on what the problem is? It doesn't seem to be an issue with my server setup.

Thanks,
Matt

Last edited by mvanadel; 06-29-2004 at 03:07 PM.
 
Old 06-29-2004, 04:17 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Make sure your 2nd pc (the ftp client) is actually using passive mode,
and has the ip_conntrack_ftp & ip_nat_ftp modules loaded.

These do the handshaking for passive and active modes and the extra ports required.

do lsmod for a list of modules, & modprobe ip_nat_ftp to load both modules.
 
Old 06-30-2004, 05:30 PM   #3
mvanadel
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Peter,

Thanks for your help with this. Intially ip_conntrack_ftp and ip_nat_ftp modules weren't loaded. I used modprobe ip_nat_ftp to load the modules, but it didn't seem to have any effect on the problem. Any other ideas?

Thanks,
Best,
Matt
 
  


Reply



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
binary ftp trouble anmsg Linux - Networking 2 10-14-2004 11:51 PM
FTP Trouble. boardinglaxplr Debian 2 10-01-2004 09:34 PM
Trouble with FTP RaistlnMjr Linux - Newbie 15 10-13-2002 11:30 PM
FTP trouble bripage Linux - Networking 51 04-17-2002 11:43 AM
FTP trouble eweborg Linux - Networking 2 03-04-2002 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration