MyNixOS website logo
option

services.cloudflared.tunnels.<name>.edgeIPVersion

Specifies the IP address version (IPv4 or IPv6) used to establish a connection between cloudflared and the Cloudflare global network.

The value auto relies on the host operating system to determine which IP version to select. The first IP version returned from the DNS resolution of the region lookup will be used as the primary set. In dual IPv6 and IPv4 network setups, cloudflared will separate the IP versions into two address sets that will be used to fallback in connectivity failure scenarios.

See Tunnel run parameters.

Declarations
Type
one of "auto", "4", "6"
Default
"4"
Example
"auto"