Forum Discussion

Hans_Forsingdal's avatar
Hans_Forsingdal
Icon for Nimbostratus rankNimbostratus
Oct 02, 2014

Migrating from Cisco to F5

Hi We are migrating from a Cisco ACE to F5. Some of our services use the following (ACE syntax)

 

...

 

insert-http WL-Proxy-Client-IP header-value "%is"

 

insert-http WL-Proxy-SSL header-value "true"

 

insert-http X-Forwarded-For header-value "%is"

 

How can I configure this in F5? I think an iRule could do the job but I do not have very much experience here.

 

Yhank you very much.

 

2 Replies

  • Hi, you can configure through irules:

    when HTTP_REQUEST {
    HTTP::header insert  WL-Proxy-Client-IP [IP::client_addr]
    }
    
    when HTTP_REQUEST {
    HTTP::header insert  WL-Proxy-SSL "true"
    }
    
    when HTTP_REQUEST {
    HTTP::header insert X-Forwarded-For [IP::remote_addr]
    }