Forum Discussion
unable to get client IP .instead of client IP by default it's showing NetScaler IP in iis logs
HI I am recently started working on IIS 8.5 version(windows 2012 R2 ).I have one issue in IIS logs. unable to get client IP .instead of client IP by default it's showing NetScaler IP (in that two proxy are there) I did X FORWORD FOR that giving the proxy IP please give solution how to capture client IP in IIS logs
3 Replies
- Greg_Labelle
Nimbostratus
See the link below for instructions on how to configure IIS to log the X-Forwarded-For header rather than the client IP Address.
IIS and X-Forwarded for header
This is a fairly common issue.
- guptha1706_2981
Nimbostratus
Greg Labelle , I did this thing but it giving proxy IP not client IP and this application is developed in .NET, we need client IP in IIS logs and Data base (ms sql2008).in both DB and IIS logs NetScaler IP reflecting instead of client IP can you please help me with this.
- Greg_Labelle
Nimbostratus
I notice you mentioned there are two proxies.. are they both by chance inserting the X-Forwarded-For header?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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