Subject: Re: [Bugme-new] [Bug 8325] New: -j REDIRECT --to-ports 1000-1009, always first choosen

From: Patrick McHardy <[email-masked]>
Date: Mon, 16 Apr 2007 07:30:33 +0200

Denys wrote:
> Sorry, i will put my IMHO, since i am using it too.
> 
> I guess it can be useful for load-balancing scenario.

That makes sense with using multiple IPs (and we support doing that),
but whats the point of load-balancing to differenet *ports*?

> Is there way to provide both ways?
> Thinking... 60% done, But maybe this can be done over -m statistic already

2.6.21-rc supports randomized port selection (with iptables userspace
from SVN). Using the statistic match would work as well.