forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
4.9 KiB
4.9 KiB
How Do I Obtain the Real IP Address of a Web Visitor After WAF Is Enabled?
Generally, a proxy such as CDN, WAF, and AAD is deployed between the client and server. Web visitors cannot directly access the server. For example,
. Then, how does the server obtain the real IP address of the client when multiple proxies are used?- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project.
- Choose Figure 1 shows an example. . In the navigation pane on the left, choose Domains.
- In the Name column, click the target domain name to go to the basic information page.
- View Source IP Header. By default, WAF obtains the real IP address of a web visitor from the HTTP header X-Forwarded-For. The first IP address in the X-Forwarded-For field is the real IP address of the web visitor. You can also click
to customize the field to identify the real IP address. Figure 2 shows an example.
Parent topic: Operation-related