Forum Discussion
Arie
Altostratus
Sep 14, 2006IIS logs show LB IP address for all requests
Our IIS logs are showing the LB's IP address for all requests instead of the clients' IP addresses.
Any idea how to fix this?
2 Replies
Sort By
- JRahm
Admin
It appears you are using the snat function, which translates the client IP to the F5 IP. You will need to pass the client IP in a header, done in the HTTP profile by enabling the Insert XForwarded For setting, or in an irule. You will need to extract this information on the server side, I think there are examples how to do this for IIS on this forum if you search for it. - paul_adomeit_70
Nimbostratus
Setting x-forwarded-for is the easy part. There is a fantastic ISAPI custom log filter in the downloads section that causes the IIS server to log the value in the x-forwarded-for as the client IP address in the web logs. We use this so all our web log processing tools still work and for trouble shooting.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects