Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 10:37:28 +0200
From:      =?ISO-8859-1?Q?Z=F6ld?= <zgabe84@gmail.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: FreeBSD 7.1 IPv6 multihoming problem
Message-ID:  <75e73d840904070137s4a76dea3o248b01c2bc1f2bff@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75e73d840904070137s4a76dea3o248b01c2bc1f2bff>