Re: loadbalancing on OpeBsd

2008-03-25 Thread Steven Surdock
Steven Surdock wrote: Fratiman Vladut wrote: Everything work well (except ftp), but i see with tcpdump, ... As for ftp-proxy, the _only_ way I can think of to LB proxied services (squid, ftp-proxy...) is to: A) Use -mpath (see man route) B) Run two proxies. Bind each to the different

loadbalancing on OpeBsd

2008-03-20 Thread Fratiman Vladut
I try to implement loadbalacing using two ISP's, with explanation from http://www.openbsd.org/faq/pf/pools.html Everything work well (except ftp), but i see with tcpdump, packets that outgoing on $ext_if1 from $ext_if2 and vice versa. Generally this are icmp request's. I don't understand why this

Re: loadbalancing on OpeBsd

2008-03-20 Thread Daniel Anderson
I found myself in a similar situtation and just set all icmp to go out a single interface: pass in on $int_if route-to { ($dsl_2_if $dsl_2_gw) } proto { icmp } from any to any keep state And for incoming connections for ssh that go to a given interface I added these: pass in quick on

Re: loadbalancing on OpeBsd

2008-03-20 Thread Steven Surdock
Fratiman Vladut wrote: Everything work well (except ftp), but i see with tcpdump, packets that outgoing on $ext_if1 from $ext_if2 and vice versa. Generally this are icmp request's. I don't understand why this happening because have last two rules (from web explanation), that prevent this