UserLock Documentation
UserLock Documentation
You are here: Use cases > Advanced use cases > Get Client IP for web requests through proxy

Get Client IP for web requests through proxy

For IIS sessions, if a web request comes from the IP address of a proxy the real client IP isn't see. To see the real internet address of the user instead of the proxy address as client address follow the next steps.

Warning: the proxy must use the X-Forwarded-For http header to keep the real client address (X-Forwarded-For - HTTP | MDN (mozilla.org))

  1. Determine the IP address of the proxy.
  2. Add the proxy IP address in the advanced setting of UserLock (F7) IisProxyList.
    Add the proxy IP address
  3. Ensure the latest HttpModule is deployed, and that the IIS MFA is also upgraded.