Forum Discussion

khaledsallam's avatar
khaledsallam
Icon for Nimbostratus rankNimbostratus
Sep 29, 2016

Irule to redirect the traffic

Hello Experts,

 

I want to redirect any traffic coming to https://app.company.com:9797/anything to my internal pool but it should manipulate the url to https://internalserver:8443/abc

 

Any help please.

 

1 Reply

  • Of course this can be done. But your configuration will be based on a poor webserver/application configuration. You application should always know the external name of the application (Apache: ServerName or Sharepoint: Alternate Access Mappings, etc.) to avoid rewriting. Also the URIs should be the same, as long as you don't want to hide internal URIs to clients. If this is the case, you should ask the developer to do the masking instead of your BIG-IP.

     

    However, you can achieve this by using the Proxy Pass iRule: https://devcentral.f5.com/codeshare/proxypass-v10-v11

     

    This may be the easiest way for you to configure this.

     

    Or may I misunderstood you and you really only want to redirect?

     

    Greets, svs