20-Feb-2020 00:15
Hi,
We have two F5 Load balancers, those are internal and external. The request is to create a new VIP on external F5 with URL *.example.com(With external DNS entry) and for this VIP pool member will be the VIP in internal load balancer i.e *.example.abc.in.(With internal DNS entry)
So we require a iRule for the external VIP so that we can pass the traffic to the VIP in internal load balancer by replacing the domain name in host of the header.
For Example :
Incoming target: *.example.com
Rewrite to: *.example.abc.in
Thanks,
Sivakumar
20-Feb-2020 03:15
HI Shivkumar,
I recommend you to use LTM policy instead of a iRule to achieve what you are trying to do.
Here is an example of it.
More on LTM policies::
https://devcentral.f5.com/s/articles/ltm-policy
Hope it helps,
Regards,
Nag