Forum Discussion

Jason_Drake_204's avatar
Jason_Drake_204
Icon for Nimbostratus rankNimbostratus
Feb 03, 2016

Using an iRule to insert the original client IP address in an X-Forwarded-For HTTPS header

I know I can use an iRule to insert the original client IP address in an X-Forwarded-For HTTP header.

 

Can this be done for https?

 

I have a situation where I sent reverse proxy traffic to an apache server, but the customer would like the to see in his apache logs the source address of the traffic. I can look at the F5 for this, but am I right thinking this will only work for HTTP traffic? Thanks

 

1 Reply

  • Yes, you can do this with https but you must have client and server SSL profiles attached to the virtual server. Adding the profiles will make the traffic stream visible and modifiable by iRules.