Forum Discussion
Kai_Wilke
Feb 08, 2017MVP
Hi Jim,
IIS has a very poor support for X-Forwarded-For headers... 😞
I usually tend to write the original client IP into an additional cookie (via
HTTP::cookie insert name "OrigIP" value [IP::client_addr]
) and collect those information by turning on IIS cookie logging. Its much easier, doesn require any bits'n'bytes on your servers and may already satisfy your needs... 😉
If you're still looking for a native
X-Forwarded-For
support, then take a look to the following blog site. The site outlines and compares different techniques which are more or less supported/maintained by Microsoft or F5.
https://blogs.iis.net/deanc/iis7-8-logging-the-real-client-ip-in-the-iis-hit-logs
Cheers, Kai