FTP server will not initiate DATA connection back to client
Andrew L. Gould
algould at datawok.com
Thu Jul 1 06:43:20 PDT 2004
On Thursday 01 July 2004 07:45 am, freebsd at stateautomation.com wrote:
> I am running FreeBSD 4.9 RELEASE running the standard ftpd. I can
> act as an ftp client from the console OK, however when I try to ftp
> from a client PC to the server running ftpd (which is running ipfw)
> the ftp server receives the packet sent to port 21 and replies
> however it will not initiate a DATA connection back to the client
> from port 20. I had my client configured to use ACTIVE FTP. I have
> also tried PASSIVE without any difference. I do not have a firewall
> on the client and can successfully FTP to another FreeBSD box.
> None of the rules on my firewall that deny packets coming back from
> the ftp servers ipfw firewall are being hit. Does anyone have any
> ideas? Regards, J.S
In /etc/services, I see the following lines related to ftp:
ftp-data 20/tcp #File Transfer [Default Data]
ftp-data 20/udp #File Transfer [Default Data]
ftp 21/tcp #File Transfer [Control]
ftp 21/udp #File Transfer [Control]
Are all of these ports open in the firewall? Sending and receiving? (I
don't know if all of the ports are needed or not.)
Best of luck,
Andrew Gould
More information about the freebsd-questions
mailing list