Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-29-2004, 03:03 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
ftp trouble


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.


Last edited by mvanadel; 06-29-2004 at 03:07 PM.
Old 06-29-2004, 04:17 PM   #2
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
LQ Newbie
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0

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?



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
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 > Forums > Linux Forums > Linux - Networking

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

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