Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 05:02:49 +0000
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        bill.marquette@gmail.com, dudu.meyer@gmail.com
Cc:        freebsd-pf@freebsd.org
Subject:   Re: How to balance my own outgoing traffic?
Message-ID:  <BAY115-F27FF2F83629FA08D25C2A9AE630@phx.gbl>
In-Reply-To: <55e8a96c0703271009o19bcb3dfp29929357516292f9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Load balancing outgoing traffic will not be a problem in any setup. But the 
biggest problems you will face is ssh sessions and websites like rapidshare. 
You will start the session with 1 ip address and suddenly the round robin 
rule will take your traffic out with another ip address. This will cause 
problems when communicating with an ssh server and servers like rapidshare 
which generate download tickets based on source ip address.

Sunil Sunder Raj
http://daemon.in


>From: "Bill Marquette" <bill.marquette@gmail.com>
>To: "Eduardo Meyer" <dudu.meyer@gmail.com>
>CC: freebsd-pf@freebsd.org
>Subject: Re: How to balance my own outgoing traffic?
>Date: Tue, 27 Mar 2007 12:09:52 -0500
>
>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
>
>>
>>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@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>>To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>>
>_______________________________________________
>freebsd-pf@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"

_________________________________________________________________
i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. 
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline




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