On Sun, Feb 07, 2010 at 03:09:44PM +0100, Jean-Fran?ois SIMON wrote: > 2010/2/7 Bret S. Lambert <bret.lamb...@gmail.com> > > > On Sun, Feb 07, 2010 at 12:24:52PM +0100, Jean-Fran?ois SIMON wrote: > > > Hello, > > > > > > I am going to replace the rule > > > rdr pass on $ext_if proto tcp from any to any port 1024:65535 -> > > 10.0.1.32 > > > port 1024:* > > > by a general rule for redirecting to all the machines that have a ip > > > starting by 10.0.1 > > > > > > Is this even possible ? A rule like > > > rdr pass on $ext_if proto tcp from any to any port 1024:65535 -> 10.0.1.* > > > port 1024:* > > > or > > > rdr pass on $ext_if proto tcp from any to any port 1024:65535 -> 10.0.1 > > port > > > 1024:* > > > > > > > No, you'd have to so a seperate rdr line for each backend host. > > > > Would a rule like this one work (2 lines). > rdr pass on $ext_if proto tcp from any to any port 1024:65535 -> 10.0.1.32 > rdr pass on $ext_if proto tcp from any to any port 1024:65535 -> 10.0.1.33 >
wow, no. what you want is relayd, or to carp(4) the backends on a single IP