[...]
The default for most FTP servers is to run in
"Active" mode which means that after the client makes
a request the server tries to open a data channel on
the client.
Hence you have to set your FTP client
to tell the server to run in "Passive" mode. In
this case the server asks the client to open a data
connection to the server. Whereabouts you have to
make this Passive setting will depend on the FTP
client you are using.
Hello Graham, and thank you for this detailed reply.
I'm using the standard MacOS X FTP: ftp.
Its man page tells:<pre>...
-A Force active mode ftp. By default, ftp will try to use passive
mode ftp and fall back to active mode if passive is not sup-
ported by the server. This option causes ftp to always use an
active connection. It is only useful for connecting to very old
servers that do not implement passive mode properly.
...</pre>
I don't understand why it isn't working correctly.
On Mac A, I've added a specific FTP rule to the Firewall,
but unfortunatelly it is incomplete. And it doesn't let
passive FTP go through Mac A:<pre>
Port Name: Other
TCP Port Number(s): 20-21
UDP Port Number(s):
Description: FTP </pre>
Should I put:<pre>
Port Name: Other
TCP Port Number(s): 20-21, 1024-65535
UDP Port Number(s):
Description: FTP </pre>
Isn't there a more fine grained solution to allow FTP to
pass through Mac A, without allowing at the same time all
the incoming TCP connections?