On Nov 21, 2007 4:08 PM, Siju George <[EMAIL PROTECTED]> wrote:

> I just can't figure out how I can get the traffic that goes through
> squid to alternately use both connections :-)

pf does not support that, yet! your load balancing rules are applied
in the in the "in" direction.  this works normally because the traffic
of clients come in the in of your lan_if

pass in on $int_if route-to { ($ext_if $gateway), ($ext_if2 $gateway)
} round-robin \
         from $int_if:network to any keep state

When you use squid, the traffic is originated from the box, and does
not flow though the in rules. See
http://homepage.mac.com/quension/pf/flow.png And thus the load
balancing will not work.

Now this will not work in the out direction also because you cannot
nat after filter rules.

raj
_______________________________________________
bsd-india mailing list
[email protected]
http://www.bsd-india.org/mailman/listinfo/bsd-india

Reply via email to