Client IP Header

Last update:2026-07-02 17:32:12

Client IP Header controls which HTTP request header CDNetworks uses when passing the original client IP address to your origin server.

Use this feature when your origin server needs the viewer’s real client IP address for business logic, access control, security checks, or origin-side log analysis.

Configure Client IP Header

  1. In Advanced Configuration, open Client IP Header.
  2. Find the target domain in the domain table.
  3. In the Client IP Header column, select the required option.
Option Behavior When to Use
Cdn-Src-Ip CDNetworks adds the client IP to the Cdn-Src-Ip request header. This is the default option. Use this when your origin can read the CDNetworks-specific header directly.
X-Forwarded-For CDNetworks sends the client IP in the X-Forwarded-For request header. The IP value comes from the client IP detected by CDNetworks. Use this when your origin, application, or log parser already relies on X-Forwarded-For.
Preserve original X-Forwarded-For If the client request already includes X-Forwarded-For, CDNetworks passes the original header and value to the origin. Use this only when you intentionally want to preserve the incoming X-Forwarded-For value.
  1. Select Save Draft to save the configuration as a draft, or select Next to continue the configuration workflow.
Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!