Learn how to see end-user IP addresses in origin requests with Cloudflare's True-Client-IP Header.
Overview
Connections from Cloudflare to origin servers come from Cloudflare IPs. True-Client-IP is a solution that allows Cloudflare users to see the end user’s IP address, even when the traffic to the origin is sent directly from Cloudflare.
For more details on what True-Client-IP is, refer to our product documentation.
Enable True-Client-IP Header
To enable the True-Client-IP header,
- Log in to your Cloudflare account.
- Navigate to the Network app of the Cloudflare dashboard.
- For True-Client-IP Header, select On.