I have a pile of server daemons running on localhost which I want to load-balance between. I'm using the following rule on 8.2-STABLE (28 June 2011) to try to load-balance between them:
rdr inet proto tcp from any to 127.0.0.1 port = 2000 \ -> 127.0.0.1 port 3000:3099 round-robin Unfortunately pf seems to only redirect to port 3000, sending all connections there and none to any other port. I've also tried specifying {localhost, localhost, localhost...} port 3000:3099 with no success. Am I missing something, have I hit a bug, or is the rdr syntax in pf.conf misleading in that multiple ports in a destination is only valid if the source uses multiple ports? The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Critical Software Ltd. reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation. Critical Software Ltd. registered in England, 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. ------------------------------------------------------------ This message has been scanned for security threats by iCritical. For further information, please visit www.icritical.com ------------------------------------------------------------ _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"