How do I obtain client IP Address?

We’re trying to troubleshoot some issues with connections through one of our VS to web servers. The goal is to capture the possibly offending source/client IP address and then add that to the IIS logs on the servers themselves. My boss thinks this can be done via a cookie, but my searches so far indicate an iRule that creates a cookie to do this (DevCentral - An F5 Technical Community).

Does anyone know how to capture this information and log it to the servers themselves?

We’re using BIG-IP 9.4.2 Build 228.18 Final.

Thanks in advance for any help.

Diane

have you seen this?

sol4816: Using the X-Forwarded-For HTTP header to preserve the original client IP address for traffic translated by a SNAT

So, that solution doesn’t require any iApp or anything other than the rule? My boss dug something up about iApp.

i do not think you really need iapp.

So, we have both http and https VS objects. So I need to do both the steps for the profile and the irule for the x-forwarded, is that correct?

either http profile or irule.

Then we need to get the IIS ISAPI filter installed/configured on the web servers?

i am not familiar with iis. anyway, i believe iis administrator should know how to log x-forwarded-for header value. :slight_smile: