-   Linux - Networking (
-   -   FTP: active and passive mode problem with some windows client (

tda71 06-13-2005 05:56 AM

FTP: active and passive mode problem with some windows client
I start my server running Red Hat 9.0 but I have some problems with some user during connection.

I use WS-FTP and WindowsXp and I can upload and download commands.
The same if I use MS-Dos prompt and FTP command.
The same if I use Mac and Terminal but I must wait some minutes before use LS command into my server. Then I can do upload and download (put/get command).

I have some problem when I use Mac with Fetch (graphic client) because I can't connect to my server, some error occour during connection (like "server don't respond).

I try my test always start to the same Network for connecting to remote server in a different Network and ISP of mine.

Some of my friend starting to different network of mine, try to use SmartFTP using active and passive mode but they can use LS command because the server say:

Entering Passive Mode (x,x,x,x,50,201)

and waiting for a long time and it seems to be blocked.

Other user using CuteFtp (always different network of my starting network) setting No Passive mode and he can connect and use ftp command, but if he use CuteFtp like Passive mode don't work.

The remote server load correctly my vsftpd.conf and this file it's the same that work into another server but I don't understand my problem.
Maybe SmartFTP and GoLive or Dreamweaver have some problem to connect but I don't understand why.

Do you have some idea to resolve it?
thank in advance and regards


HFat 06-14-2005 07:01 AM

So basically active FTP works but passive FTP doesn't?

In order for passive FTP to work, you need to be able to connect to arbitrary high-numbered ports on the server. Whatever router and/or firewall you use must allow that. I'd look into that first.

Sharaz 06-14-2005 08:31 AM

search ip_conntrack_ftp, and you will find a piece of the puzzle that i bet you need.

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