How to balance my own outgoing traffic?

Bill Marquette bill.marquette at gmail.com
Tue Mar 27 17:35:17 UTC 2007


On 3/27/07, Eduardo Meyer <dudu.meyer at 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

>
> However I can not, say, route-to $ext_gw2 traffic from $ext_ifi1's IP
> address. I need to combine it with NAT, right?
>
> How to do this is what I am confused.
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>


More information about the freebsd-pf mailing list