Single VIrtual Server for Multiple Ports/Protocols
We have a WebRTC Service we want to load balance and handle HTTP (and HTTPS), RTMP, as well as UDP traffic. The problem is that we need to support large ranges of ports (443 HTTPS with SSL termination, 80 for HTTP, 40000-49999 for RTMP, 50000-59999 for UDP). From my understanding, we cannot create a Virtual Server for a range of ports unless it is a "port 0" Virtual Server, and obviously we cannot create the thousands of Virtual Servers to do this on a per-port basis. For the web traffic, we need to terminate SSL as well as apply iRule logic. RTMP and UDP traffic can be forwarded on to the corresponding pool members. All traffic on other non-matched ports can be dropped.
If it is not possible to configure multiple Virtual Servers for ranges of ports, is there a way to handle all the possibilities via iRules, or perhaps using different internal Virtual Servers as pool members for the top-level Virtual Server, passing on the traffic to the secondary Virtual Server via iRule based on port rance, each of which can handle the traffic according to the appropriate protocol?
Or...is there some obvious solution to this problem that I am completely overlooking?
Thanks for your time, -Funkdaddy