A virtual server which caters to both HTTPS and plain TCP traffic on the same port.
Hi
Need help creating a Virtual Server which caters to both HTTPS and plain TCP traffic on the same port. The HTTPS would have to be directed to a pool say pool_1 and the plain TCP traffic would need to be diverted to another pool say pool_2. Is there a way to achieve this through an iRule or any other method?
I have attempted by creating a Virtual Server with the default configurations to cater the HTTPS traffic (involving clientssl, serverssl, HTTP) and then adding an iRule to identify and route the plain TCP traffic to another pool.
I have tried quite a few conditions on the iRule but just cant seem to get both the traffic working. One works while the other fails.
This is one such example, (only plain tcp traffic works with this)
============================ when CLIENT_ACCEPTED { HTTP::disable SSL::disable pool pool_2 }
when CLIENTSSL_HANDSHAKE priority { pool pool_1 }
when SERVER_CONNECTED { SSL::disable serverside
}
Any suggestions on this would be appreciated.