Forum Discussion

eantolo_25676's avatar
eantolo_25676
Icon for Nimbostratus rankNimbostratus
Jun 23, 2008

x-Forwarded-For

Hi All,

 

 

i've a problem with X-Forwarded-for iRule.

 

In effects it inserts the Http Header but the address that is introduced on the Web Server is the address of the big-ip interface on the servers Vlan

 

 

Do you have an idea?

 

 

BR

 

 

 

 

Follows the iRule

 

 

when HTTP_REQUEST {

 

HTTP::header insert X-Forwarded-For [IP::remote_addr]

 

}

 

 

 

thanks

 

 

 

 

4 Replies

  • Configuring an iRule to insert an HTTP header with the original client IP address will not change the source IP address that LTM uses on requests sent to the pool. You can configure the web server to log the XFF value as described in SOL4816 (Click here).

     

     

    Aaron