Forum Discussion

IWhitmore's avatar
IWhitmore
Icon for Nimbostratus rankNimbostratus
Nov 17, 2014

Convert Windows proxy settings to F5 irule

Hi all,

I have the following settings on a Windows proxy that I need translating to an F5 irule and I'm afraid this is not one of my skill sets.

Can anybody help me please?

    HTTP Version: Pass through

    Reverse Rewrite in response headers (checked)

    Custom headers (checked)
            Preserve client IP in the following header: X-Forwarded-For
            Forward encoded client certificate in the following header: X-ARR-ClientCert
            Mark client request with GUIDS in the following header: X-ARR-LOG-ID

In addition they are using link translations as follows:

    Original URL: http://kronos.x.com/
    Translated URL: https://kronos.x.com/

Translating settings from Windows to F5 is probably pretty common, I'm sure an F5 guru could do it in no time! 🙂

Thanks for any help!

1 Reply

  • Hi, in iRule list there is _sys_https_redirect:

    when HTTP_REQUEST {
           HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
        }
    

    It will solve your second task.