FreeBSD 7.1 IPv6 multihoming problem
Zöld
zgabe84 at gmail.com
Tue Apr 7 01:37:30 PDT 2009
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!
More information about the freebsd-ipfw
mailing list