By configuring the passthrough of client IP addresses, you can pass the client IP addresses to the origin server to collect and analyze IP addresses of clients that visit your server. This helps you make informed business decisions. This topic describes how to configure the passthrough of client IP addresses.

Background information

IP Application Accelerator (IPA) can transfer the IP address of a client to an origin server. Both TCP Option Address (TOA) and Proxy protocol are supported.
  • TOA: The TOA kernel module inserts the IP address of a client to the option field in the TCP protocol. To use this method, make sure that the origin server has the TOA kernel module installed. No modifications are required for your application.
  • Proxy Protocol: The Proxy protocol inserts the IP address of a client into the TCP payload. By default, the Proxy protocol is supported by the open source versions of NGINX. For other applications on the origin server, make sure that the Proxy protocol is supported.

Procedure

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, click IP Application Accelerator.
  3. On the IP Application Accelerator page, find the domain name that you want to manage, and click Configure.
    Domain names accelerated by IPA
  4. In the left-side navigation pane of the specified domain name, click IP Application Accelerator.
  5. Click Configure.
  6. Select the Protocol for Exposing Client IP.
    Passthrough
  7. Click OK.
    After you configure the passthrough of client IP addresses, Dynamic Route for CDN (DCDN) provides better user experience.