Forum Discussion
Pure_Krome_7392
Nimbostratus
Nov 30, 2007Unable to determine client IP - please help!
Hi Folks,
we're using an F5 BIG-IP to load balance our windows IIS servers. We host our sites at some hosting company. Everything seems to be working fine.
When i check the LOG FILE, every ip address of the client (requesting data from the IIS server) is an IP address from (i'm guessing) within the hosting company : 64.151.105.* I know this is not the real client IP because i created a support ticket a while back and they somehow created an extra custom x-header (HTTP_RLNCLIENTIPADDR) with the real ip of the request (which i've confirmed is correct with various IP's on public machines, when i dump the request information to the web page).
So ... without knowing the exact version the BIG-IP hardware machine we are using is ...
** Is it possible to replace the client-ip value with the user's real one? If so, is there a help doc that can explain this please?
this way, our IIS logs will report the REAL client IP for accurate analysis.
thank you kindly.
-PK-
- hoolio
Cirrostratus
Hello there, - hoolio
Cirrostratus
Based on a read through of other users and Joe's comments (Click here), it looks like the DLL will replace the value of the C-IP field in the IIS logs with the parsed value of the X-Forwarded-For header. I believe he parses out internal IP addresses and writes the remaining IPs in a comma plus (1.1.1.1, +2.2.2.2) separated list. So if the BIG-IP is configured to insert the X-Forwarded-For header and you enable this DLL on your web server(s), you should see in the C-IP field, what the BIG-IP got as the source IP of the TCP packet it received.
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