Forum Discussion
Dave_McCauley_3
Cirrostratus
So do you have two different virtual servers, one on 1500 and one on 1550? Just use a default pool for each of those.
If you have only a virtual server on port 1500, just create a second virtual server on 1550 and have it go to the other pool. No iRule needed.
Dave_McCauley_3
Feb 22, 2019Cirrostratus
In that case, you'll need to gather the first few bytes to see if it's encrypted or not, and then disable SSL and select the other pool.
 
https://clouddocs.f5.com/api/irules/TCP__collect.html
 
https://clouddocs.f5.com/api/irules/SSL__disable.html
 
https://clouddocs.f5.com/api/irules/pool.html