Cloudflare IPv6 to IPv4 Conversion
In hosting situations, like ours, where IPv6 IP addresses are not natively supported by our servers, Cloudflare has a settings that allows you to convert the IPv6 IP address of the site visitor to an IPv4 address that Cloudflare uses so that the content can be retrieved by Cloudflare and then presented to the IPv6 only site visitor.
This action is accomplished by using the Pseudo IPv4 setting in your Cloudflare Settings tab.
The Pseudo IPv4 setting has three available options.
- Add header
- Overwrite headers
The first option is also the default setting for your Cloudflare account and will not influence the incoming traffic to the Cloudflare system. This means that if a site visitor that can only connect to the internet using IPv6, the Cloudflare system will not apply the appropriate headers to the HTTP requests.
The second option, “Add Header” allows the Cloudflare service to enter an HTTP header that will allow the visitor to “use” an IPv4 address to connect with.
This setting will apply the following header to the request:
The third option, “Overwrite header” will apply a different header to the HTTP request that has some additional functionality. The advantage of this option is that it will append a new header:
Which works to catalog the IP address of the actual connecting IP address for debugging.
This setting is available to all Cloudflare service customers, even those who use the free plan.
TotalUptime provides an IPv6 solution with their load balancing option. We have utilized TotalUptime’s load balancing option to help customers plan for optimal uptime by having their servers geo load balanced between our multiple data centers.