On Mon, Jan 19, 2004 at 05:45:03PM +0100, ?ukasz Bromirski wrote:
> Antoine Jacoutot wrote:
> 
> >I've been trying to use ipilter to do source routing since I have 2 
> >Internet connections, but no BGP nor other routing protocol available.
> >So far, no success... I read the docs and it looks like it is easy to 
> >setup, so I really don't understand what I'm doing wrong.
> 
> ipfilter can't do that IMHO.

I'm doing that with ipfilter.

> Use ipfw with natd - two separate natd instances, one NATing first
> subnet, second NATing second subnet (I'm not sure You can negate just
> one host from that subnet, but check it out - my ipfw knowledge is
> somewhat rusty). Then use ipfw to redirect traffic from subnet to tun0
> and from the host subnet to tun1.

That also works, yes.

-T


-- 
"That time in Seattle... was a nightmare.  I came out of it dead broke,
without a house, without anything except a girlfriend and a knowledge of
UNIX."  "Well, that's something," Avi says.  "Normally those two are mutually
exclusive."        --Neal Stephenson, "Cryptonomicon"

Reply via email to