From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 17:52:14 2003 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 0243D16A4CE for ; Wed, 3 Dec 2003 17:52:14 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84C6B43F85 for ; Wed, 3 Dec 2003 17:52:12 -0800 (PST) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id hB41po5D006768; Wed, 3 Dec 2003 22:51:50 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Wed, 3 Dec 2003 22:51:50 -0300 (ART) From: Fernando Gleiser To: fbsd_user In-Reply-To: Message-ID: <20031203224825.Q94848-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.37 cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: IPFILTER & active ftp 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, 04 Dec 2003 01:52:14 -0000 On Wed, 3 Dec 2003, fbsd_user wrote: > > I have this rule in my Nat rules file. I can see my filter rule > allow the FTP request to pass through, but I don't see packet return > back on high port number for data transmission. IT looks like the > NAT proxy is not opening hole for return data port. > > The Nat rules I am using follow > # Provide special NAT services for Active FTP from LAN users. > map rl0 0/0 -> 0/32 proxy port 21 ftp/tcp is rl0 your external interface? Besides, I've had problems with this setup. Change it to map rl0 10.0.10.0/29 -> 0/32 proxy port 21 ftp/tcp Fer