From owner-freebsd-net@FreeBSD.ORG Thu Nov 11 06:31:47 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864481065679 for ; Thu, 11 Nov 2010 06:31:47 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2F68FC17 for ; Thu, 11 Nov 2010 06:31:46 +0000 (UTC) Received: (qmail 15784 invoked by uid 399); 11 Nov 2010 06:31:46 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Nov 2010 06:31:46 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4CDB8DD1.4010808@FreeBSD.org> Date: Wed, 10 Nov 2010 22:31:45 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <8CD4F3FB222E6E1-1F14-11DA0@web-mmc-d04.sysops.aol.com> In-Reply-To: <8CD4F3FB222E6E1-1F14-11DA0@web-mmc-d04.sysops.aol.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ipfw fwd doesn't handle ipv6 addresses X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 06:31:47 -0000 On 11/10/2010 14:42, gumbo@bsdmail.org wrote: > I'm running freebsd 7.2 and trying to find a way to forward a packet > based on it's source address. The following command works fine for > ipv4 addresses but fails for ipv6 addresses. ipfw add 101 fwd > nextaddr ip from myaddr to any out This works fine if nextaddr and > myaddr are ipv4 but fails to work if they are ipv6. Is this not yet > supported or is there another way to accomplish the same thing ? You might want to take a look at the ipfw man page, I think what you want is me6, not myaddr. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/