hi,
We are scoping out an integation project that involves an f5 LTM and several reverse proxy appliances (with synchronized L7 session state). A quick overview:
We need to terminate the SSL on the LTM and then redirect the decrypted traffic from the LTM to the external appliance while retaining the destination ip address (as the virtual ip address). From what I understand this can be done through iRules. The reverse proxy will terminate the connection and send a new connection to the F5 LTM with the destination address retained as the vip address (unchanged). The F5 will loadbalance the traffic to the backend servers. The server response will be converted from the real ip to the vip and then we want the F5 to redirect the traffic back up to the appliance.
We would like the incoming client to server redirection to be symmetric with the outgoing server to client redirection using a simple cip^dip hash algo so that the incoming flow going back out the same reverse proxy appliance that it came in on. Could this be incorporated into the iRules without too much difficulty?
We would also like to use a Return to Sender type of functionality, if it exists on the F5 box as well. Redirection to the appliance in the client to server direction will be done via any loadbalancing metric, and the F5 will store the incoming mac address of the appliance that received the traffic. When the traffic returns from the server, the packet will be converted rip to vip, and then a reverse lookup on the session will get the original source mac, so that the packet can be switched out to the same appliance (on the return path).
We don’t necessarily care about the client to appliance stickiness for subsequent sessions since the L7 state is syncrhonized across all of the reverse proxy appliances. We just need to guarantee that for a given flow/session, the client to server path and the server to client path go to the same reverse proxy appliance.
Are there any precanned iRules that I could take a look at that would be in line with what we would like to accomplish, mainly destination,dport and protocol client redirection using symmetric hash algo or stored source mac.?
thanks