How to balance my own outgoing traffic?
Sunil Sunder Raj
unixtools at hotmail.com
Fri Mar 30 05:14:50 UTC 2007
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 at gmail.com>
>To: "Eduardo Meyer" <dudu.meyer at gmail.com>
>CC: freebsd-pf at 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 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"
>>
>_______________________________________________
>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"
_________________________________________________________________
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
More information about the freebsd-pf
mailing list