LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ftp trouble (https://www.linuxquestions.org/questions/linux-networking-3/ftp-trouble-199187/)

mvanadel 06-29-2004 03:03 PM

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

peter_robb 06-29-2004 04:17 PM

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.

mvanadel 06-30-2004 05:30 PM

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


All times are GMT -5. The time now is 04:20 AM.