

This header is used for loop detection, similar to the CDN-Loop header External link icon Open external link. If Pseudo IPv4 is set to Overwrite Headers - Cloudflare overwrites the existing Cf-Connecting-IP and X-Forwarded-For headers with a pseudo IPv4 address while preserving the real IPv6 address in CF-Connecting-IPv6 header. To support migrating to IPv6, Cloudflare’s Pseudo IPv4 External link icon Open external link provides an IPv6 to IPv4 translation service for all Cloudflare domains.
#Trace message header ip locator free#
CF-Connecting-IPv6Ĭloudflare provides free IPv6 support to all domains without requiring additional configuration or hardware. When no Worker subrequest is triggered, cf-connecting-ip reflects the client’s IP address and the x-real-ip header is stripped. In cross-zone subrequests from one Cloudflare customer zone to another Cloudflare customer zone, the CF-Connecting-IP value will be set to the Worker client IP address '2a06:98c0:3600::103' for security reasons.įor Worker subrequests destined for a non-Cloudflare customer zone, the CF-Connecting-IP and x-real-ip headers will both reflect the client’s IP address, with only the x-real-ip header able to be altered. x-real-ip can be altered by the user in their Worker script. In same-zone Worker subrequests, the value of CF-Connecting-IP reflects the value of x-real-ip (the client’s IP). CF-Connecting-IP in Worker subrequests This header will only be sent on the traffic from Cloudflare’s edge to your origin web server.įor guidance on logging your visitor’s original IP address, refer to Restoring original visitor IPs External link icon Open external link.Īlternatively, if you do not wish to receive the CF-Connecting-IP header or any HTTP header that may contain the visitor’s IP address, enable the Remove visitor IP headers Managed Transform. CF-Connecting-IPĬF-Connecting-IP provides the client IP address connecting to Cloudflare to the origin web server. If the client set a different value, such as * or br, it will be overwritten and the original value will be available in request.cf.clientAcceptEncoding. Accept-Encodingįor incoming requests, the value of this header will always be set to gzip.

Cloudflare passes all HTTP request headers to your origin web server and adds additional headers as specified below.
