Access the IP of Real User
Generally, a website access request does not simply reach the website’s origin server from the user’s browser (visitor’s browser), but passes through the deployed CDN proxy server. In this case, after layers of acceleration or reseller’s forwarding of the access request, the origin server is unable to get the real client IP initiating a request.
Enable the feature to Access the IP of Real User to allow the user to obtain the real IP address of the access source or IP address of client while using CDN for acceleration.
1.Log into the CDN Management Console and enter the “Content Delivery Network (CDN) " page.
2.Click Domain Name Management on the left navigation bar.
3.Enter the domain name management page, and click the Management of the target domain name operation column.
4.Enter the “CDN Domain Name Details" page, and select the Access Control tab in the navigation bar at the top of the page.
5.Enter the access control page, click Edit in the setting module of Access IP of Real User.
6.Adjust “Get Real User IP” be Enabled status and set type:
- Client IP: The origin server can get the client IP address of the access source, carrying True-Client-Ip;
- Real IP: The origin server can access the client IP address of access source, carrying X-Real-IP.
7.After clicking Save, you can see that Access to IP of Real User has been enabled successfully in the module of access(ing) to IP of real user. A message indicating that "the configuration has been updated successfully, and will take effect in about five minutes" will appear on the page.