You can configure Risk Service to retrieve IP addresses in a NAT environment.
On the Risk Settings page, click Configuration () icon > NAT Settings.
Select Identity Server behind NAT.
In Client IP Header Name, specify the header name of the field to fetch the IP address of a client. For example, X-Forwarded-For.
In Client IP Header Parser, specify the regular expression to retrieve the client’s IP address from the HTTP header value. Header Parser is set as .*
by default.
With the regular expression .*
, the rule execution fails even if the client IP address exists in the list of multiple IP addresses. So, if you want to retrieve an IP address from a list of multiple IP addresses, modify the regular expression accordingly.
Click Save.