From owner-freebsd-questions Tue Feb 6 1:44: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from www.medsp.com (wannabe.guru.org [209.203.250.44]) by hub.freebsd.org (Postfix) with ESMTP id 371A337B69E for ; Tue, 6 Feb 2001 01:43:46 -0800 (PST) Received: (from scott@localhost) by www.medsp.com (8.11.1/8.9.3) id f169gCv14705 for questions@freebsd.org; Tue, 6 Feb 2001 01:42:12 -0800 (PST) (envelope-from scott) Date: Tue, 6 Feb 2001 01:42:12 -0800 From: Scott Gasch To: questions@freebsd.org Subject: PASV mode for server w/ NAT Message-ID: <20010206014211.A14693@www.medsp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to setup an FTP server on a machine thats running natd and ipfw but am having trouble servicing passive mode FTP clients. Because with PASV mode the FTP server is supposed bind/listen on an arbitrary port, return that port number to the client, and await the client's connection inbound... and my packet filter is not in the loop... the machine won't let the FTP client connect. So the passive mode clients just hang... active mode clients work fine. Short of hacking the FTP server code (to have it adjust the packet filter dynamically or to make it use only ports in a specific range for passive mode listening) is there any way to accomplish this? Thanks in advance, Scott -- Scott Gasch scott@wannabe.guru.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message