cloudflare-operator icon indicating copy to clipboard operation
cloudflare-operator copied to clipboard

Feature Request: Config option for tunnel IP version

Open qroac opened this issue 6 months ago • 1 comments

Services in my local network use static or assigned IPv4 adresses. Cloudflare by default sets IPv4 and IPv6 DNS records for tunnels. As result, accessing a service from local network I dont go the direct way using the local IPv4 adress. Instead local requests resolve to the public IPv6 adress of the tunnel and require the authentication I have configured in zerotrust.

There is a argument for cloudflared to set the desired IP address family. I'd very much love an config option to set a value for this flag to enforce the use of IPv4 only.

Is this already possible by some workaround? Might it be in a future version of this operator?

cloudflared tunnel --edge-ip-version <VERSION> run <UUID or NAME>

Possible values for VERSION: auto, 4, 6

Cloudflare Docs: edge-ip-version

qroac avatar Aug 19 '24 21:08 qroac