From owner-freebsd-ipfw@FreeBSD.ORG Tue Apr 7 08:37:30 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E2801065736 for ; Tue, 7 Apr 2009 08:37:30 +0000 (UTC) (envelope-from zgabe84@gmail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id C7D0A8FC1A for ; Tue, 7 Apr 2009 08:37:29 +0000 (UTC) (envelope-from zgabe84@gmail.com) Received: by fxm11 with SMTP id 11so2164017fxm.43 for ; Tue, 07 Apr 2009 01:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=PEwv/zXWSyzKXZgMyvAbAQNWoeIaPtz/bMGZKD2WFBo=; b=v4+cr31BXqREPjCDCv/xZ04Fklrwyy8MZDhOiJGiBB0NBZN2yDLFTxezj5ZiEjW/li pC32/hmLO+qMmexld3rd5cEK6TKDF2VFif8RhbSFGObwAC1aWLIoynhw1dxkfkr3f84Y UtElUnST/lCUhD0Of4rdvBreiaiWdWblZ5Hp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QrfysRU2NjeVImpQ8Yo0vcmmr/XGNw+7Y3eKxazzqavRb+Ks3sbQYDzEkllzpx0dOH htYU7Q1vLFLiEsz2IODNgBVt4QF0C60Xg3ZRzgDlDHIrO7Op55Brjz9sa+ER6zxEjNOQ /8d/1oN+uE3eGLzzjVQaFwR4TwAzL/Ymp269E= MIME-Version: 1.0 Received: by 10.223.120.197 with SMTP id e5mr4125019far.25.1239093448719; Tue, 07 Apr 2009 01:37:28 -0700 (PDT) In-Reply-To: <9173F1D4-5497-4D1D-B478-009A64E41B50@humph.com> References: <22800054.post@talk.nabble.com> <49D27F5C.7030506@elischer.org> <54A338F9-D66C-4406-804C-7443798931C8@humph.com> <75e73d840904020202q28db47e6u663a9e0bfb32a6e@mail.gmail.com> <9173F1D4-5497-4D1D-B478-009A64E41B50@humph.com> Date: Tue, 7 Apr 2009 10:37:28 +0200 Message-ID: <75e73d840904070137s4a76dea3o248b01c2bc1f2bff@mail.gmail.com> From: =?ISO-8859-1?Q?Z=F6ld?= To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 7.1 IPv6 multihoming problem 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: Tue, 07 Apr 2009 08:37:30 -0000 Hi all! I think my problem is solved. As I mentioned earlier the ipfw fwd hasn't got any effect (under FreeBSD 7.1), but pf (packet filter) can forward among the interfaces too. Here are the commands: kldload pf /etc/pf.conf: pass out quick route-to (interface1_name gateway1_address) from interface1_address to any pass out quick route-to (interface2_name gateway2_address) from interface2_address to any pf -e -f /etc/pf.conf Now the packets leave the computer over the proper interface independent of the default gateway. Thanks to everyone for the help!