How To: Enable Client IP Logging on IIS 8.5

Follow
    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected: All

     

    Overview

    This article explains how to enable source IP logging on IIS 8.5. If you use a load balancer or reverse proxy, it must be configured to pass the real client IP address in an HTTP header before this will work.

     

    Enable Client IP Logging

    1. Open IIS Manager, select Default Web Site, and open the Logging feature.IIS Manager with Default Web Site selected and the Logging feature highlighted.
    2. Double-click Logging, then click Select Fields.The Logging page, with Format set to W3C and the Select Fields button.
    3. Click Add Field.The W3C Logging Fields dialog, with the Add Field button highlighted and Client IP Address already checked among the standard fields.
    4. Add a custom field with Field Name ClientIP, Source Type Request Header, and Source X-FORWARDED-FOR, then click OK twice.The Add Custom Field dialog, with Field Name set to ClientIP, Source Type set to Request Header, and Source set to X-FORWARDED-FOR.
    5. Click Apply.The Logging page with the Apply action highlighted.



     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.