Forum Discussion

Richard_Cowell's avatar
Icon for Nimbostratus rankNimbostratus
Mar 19, 2020

HTTP redirect and response

I have an external url that I want requests that contain a specific uri to be directed to an internal server. I then want the response to appear to come from the original URL.

I have read and tried many different variations and have had no success. I am a newbie to irules etc so need it in a pretty simple format

I don't mind if it is 1 rule or multiple rules

  1. user enters - routes to correct pool
  2. user enters - request is redirect using irule to but response is from

Happy add any additional detail if my explanation is not clear



1 Reply

  • Question: does have the BIG-IP as its' default gateway, or is the virtual server configured to SNAT? If not, then the response won't come back through the iRule in any case.


    If either of those situations is correct, then you shouldn't have to worry about the response side of things in the iRule - just enable a stream profile on the VIP to replace with