Forum Discussion

ERLomboy_27803's avatar
ERLomboy_27803
Icon for Nimbostratus rankNimbostratus
11 years ago

iRule: Fwd traffic to public IP on Outside Int

Would it be possible to create an iRule that would forward the request to another F5 on a different DMZ?

 

client -> F5-1 -> DMZ FW -> F5-2 -> pool

 

Note that the client should still see the same URL and should take in account the uri

 

Orig URL: www.mysite.com Target URL: ext-lb.thesite.com:8080

 

2 Replies

  • Yes, that should certainly be possible. The only trick might be to use a SNAT on F5-1 and/or F5-2 to ensure the response traffic traverses the same devices that it comes in through. This may or may not be necessary depending on your network topology however.

     

    Also I wasn't sure if you were asking if you can do the URL rewriting bit on the BIG-IPs as well, but if that was your question then yes you can.

     

  • You don't even necessarily need an iRule - you just configure the IP address of ext-lb.thesite.com as a pool member (with port 8080) on F5-1.