We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: IIS Reverse Proxy - forward user IP instead of server IP

    Feb 06, 2021 07:14 PM|lextm|LINK

    A reverse proxy can only forward the original client IP (from the browser side) via certain HTTP headers like https://en.wikipedia.org/wiki/X-Forwarded-Forhttps://en.wikipedia.org/wiki/X-Forwarded-Forhttps://en.wikipedia.org/wiki/X-Forwarded-For So if your web app on Apache side does not pick up the right IP address from such headers, it will show the IP address of the reverse proxy instead.

    What you might do right now is,

    • Confirm that IIS reverse proxy sends the correct IP via HTTP headers.
    • Check the forum web app documentation to see how to configure it to use the IP address from HTTP headers.
    Lex Li
    Want to have a chat on the issues you meet? Find me at https://booktime.xyz/p/lextm
    This posting is provided "AS IS" with no warranties, and confers no rights.