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!
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[email protected]"

Reply via email to