
xawd7 (xawd7) asked a question.
Just wanted to clarify how the proxy ip address works for a network zone?
https://help.okta.com/en/prod/Content/Topics/Security/Security_Network.htm?Highlight=network%20zone
A request is within an IP Zone if the public IP of the address falls within range of the configured gateway IP addresses. If the request is via a proxy, configure the IP address as a proxy IP. Okta will trust the proxy IP address and attempt to match the client IP with the configured gateway IP addresses.
Is this using the X-Forwarded-For header or similar to match for client IP -> gateway IP? IE if gateway is IP1 and proxy is IP2, then create a network zone with IP2 in the proxy ip addresses and IP1 in the gateway IP addresses, and Okta will obtain the gateway IP from the 'X-Forwarded-For' header?

Hello Bernie,
Please find the answer to your question in this short description about public IP address: https://developer.okta.com/docs/api/getting_started/design_principles#ip-address
Have a good day!