Source IP redirect, change host, uri and change to 443
I'm using BIG-IP LTM
I have a VIP on port 4001 taking external connections, this goes to a pool with a client SSL cert.
I am trying to "route" to a different destination based on the source IP address. However, I need to manipulate the uri as well.
I have tried this via an iRule, but looking at the forum people are saying just use the policies section of the F5.
I am a network engineer by trade and I very rarely get this deep into LTM. Please can you assist? I have outputs from what I have tried below.
I have run packet captures and see that the request does forward, but in plain text (iRule output), so I have tried to encrypt it before sending it to the destination, but I don't think I'm doing it right.
pool_RTS_Azure = dev.api.comany.com:443
pool_RTS_4001 is the default pool
pool_RTS is the same as pool_RTS_4001