Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 14:24:20 -0300
From:      "Eduardo Meyer" <dudu.meyer@gmail.com>
To:        "Bill Marquette" <bill.marquette@gmail.com>, freebsd-pf@freebsd.org
Subject:   Re: How to balance my own outgoing traffic?
Message-ID:  <d3ea75b30703271024x220570d6we28e60edc9342a91@mail.gmail.com>
In-Reply-To: <55e8a96c0703271009o19bcb3dfp29929357516292f9@mail.gmail.com>
References:  <d3ea75b30703270620v3654c638w9a4a7d2a61dc2c39@mail.gmail.com> <46091B41.4020307@joeholden.co.uk> <d3ea75b30703270638n23e79976h383d138bf29e9bc5@mail.gmail.com> <55e8a96c0703271009o19bcb3dfp29929357516292f9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/27/07, Bill Marquette <bill.marquette@gmail.com> wrote:
> On 3/27/07, Eduardo Meyer <dudu.meyer@gmail.com> wrote:
> > Yes, round-robin will do. My problem is how to do this, I have tried
> > the following kiind of approach:
> >
> > pass out on $ext_if route-to { ($ext_if1 $ext_gw1), ($ext_if2
> > $ext_gw2) } round-robin proto tcp from $myown to any flags S/SA
> > modulate state
>
> route-to tends to work better inbound on your internal interfaces.
>
> pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2
> $ext_gw2) } round-robin proto tcp from $myown to any flags S/SA
> modulate state

There will never be internal interface. That's just me with two
outgoing interfaces. I generate all traffic. Inbound traffic is just
what I get back from the external interface.

Anyone else have any idea? What I am considering now is adding myself
to a RFC1928 network and NAT to myself. But I believe this is
something technically UGLY.


-- 
===========
Eduardo Meyer
pessoal: dudu.meyer@gmail.com
profissional: ddm.farmaciap@saude.gov.br



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