Forum Discussion

dlogsdonmd's avatar
dlogsdonmd
Icon for Nimbostratus rankNimbostratus
Apr 28, 2014

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 (https://devcentral.f5.com/questions/irule-for-inserting-client-ip-information).

 

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

 

2 Replies

  • 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. :)