From owner-freebsd-ipfw@FreeBSD.ORG Sun Feb 24 16:00:11 2008 Return-Path: Delivered-To: ipfw@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56CD416A401 for ; Sun, 24 Feb 2008 16:00:11 +0000 (UTC) (envelope-from piso@southcross.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.freebsd.org (Postfix) with ESMTP id 05F7613C45D for ; Sun, 24 Feb 2008 16:00:10 +0000 (UTC) (envelope-from piso@southcross.wired.org) Received: from southcross.wired.org (host-62-10-39-71.cust-adsl.tiscali.it [62.10.39.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id E607811AE43; Sun, 24 Feb 2008 16:39:30 +0100 (CET) Received: (from piso@localhost) by southcross.wired.org (8.14.2/8.14.1/Submit) id m1OFg4wp041173; Sun, 24 Feb 2008 16:42:04 +0100 (CET) (envelope-from piso) Date: Sun, 24 Feb 2008 16:42:03 +0100 From: piso@FreeBSD.org To: ?zkan KIRIK Message-ID: <20080224154203.GA41141@tin.it> References: <477DD670.9040606@mersin.edu.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <477DD670.9040606@mersin.edu.tr> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Cc: ipfw@FreeBSD.org Subject: Re: tablearg support for in_kernel nat? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 16:00:11 -0000 On Fri, Jan 04, 2008 at 08:47:12AM +0200, ?zkan KIRIK wrote: > Hi all, > > I'm trying to use tablearg option for in kernel nat. But ipfw doesnt > understand "tablearg" keyword. > > For example: > # ipfw add 100 nat tablearg all from "table(10)" to any via fxp0 > 100 nat 0 ip from table(10) to any via fxp0 > > Man page says that: > "The tablearg argument can be used with the following actions: pipe, > queue, divert, tee, netgraph, ngtee, fwd" > > I'm using FreeBSD 7.0-RC1. > Do you know any patches to support tablearg with nat action? > I wanna test it if there is. i just commited support for table/tablearg to ipfw's nat in HEAD, please update your src and try it out. bye, P.