From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 11:14:44 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27E8C37B401 for ; Wed, 2 Jul 2003 11:14:44 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6544943FD7 for ; Wed, 2 Jul 2003 11:14:43 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h62IEgQv004237; Wed, 2 Jul 2003 14:14:42 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h62IEgPT004236; Wed, 2 Jul 2003 14:14:42 -0400 (EDT) Date: Wed, 2 Jul 2003 14:14:42 -0400 From: Barney Wolff To: jonas linden Message-ID: <20030702181442.GA4179@pit.databus.com> References: <20030702113857.47036.qmail@web13601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702113857.47036.qmail@web13601.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org Subject: Re: ipfw+natd/divert port mapping problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 18:14:44 -0000 On Wed, Jul 02, 2003 at 01:38:57PM +0200, jonas linden wrote: > I've set up a new firewall using freebsd 4.8. I'm > using ipfw with natd to do port mapping. Everything > worked fine while being on my test network. When I > moved the firewall to the real place I changed the > outer NICs IP nr. When I did this the port mapping > stopped working. I'd put "via OUTER_INTERFACE" on the divert statement, and check routing, forwarding enabled. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.