cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

iRule suggestion request

Sivakumar
Nimbostratus
Nimbostratus

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

1 REPLY 1

NAG
Cirrostratus
Cirrostratus

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.

 

0691T000008GFIOQA4.png

 

More on LTM policies::

https://devcentral.f5.com/s/articles/ltm-policy

https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/local-traffic-policies-getting-...

 

Hope it helps,

 

Regards,

Nag