From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 13:43:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29FCE16A4CE for ; Thu, 1 Jul 2004 13:43:20 +0000 (GMT) Received: from mynah.mail.pas.earthlink.net (mynah.mail.pas.earthlink.net [207.217.120.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id E526743D2D for ; Thu, 1 Jul 2004 13:43:19 +0000 (GMT) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74] helo=[192.168.63.10]) by mynah.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1Bg1pr-0000vR-E3; Thu, 01 Jul 2004 06:42:43 -0700 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Thu, 1 Jul 2004 08:43:52 -0500 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407010843.52503.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bc7496e5ac91c8fc863025997ae8f5fd1350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.204.20.74 cc: freebsd@stateautomation.com Subject: Re: FTP server will not initiate DATA connection back to client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 13:43:20 -0000 On Thursday 01 July 2004 07:45 am, freebsd@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