load balancing random ports

I'm trying figure out if it possible to use IPFW/PF to load-balancing traffic to random ports. I would like to have one port that is being open from firewall, IPFW or PF. For example port 5000/udp. all connections that go to this port will be load-balanced via round-robin to port 1194-1197/udp etc.

I used something similar with Linux/iptables before.
Code:
-A PREROUTING -d 11.22.33.44/32 -i eth0 -p udp -m udp --dport 5000 -j REDIRECT --to-ports 1194-1197 --random
but I haven't found anything good in freebsd FreeBSD to achieve the same. Any suggestion?
 
man pf.conf | less -p round-robin. There are some examples tied to that keyword for PF.

*EDIT*. I just noticed you asked a month ago. Sorry this took so long before someone looked at it. I hope this is still useful to you.
 
Back
Top