cloudflare-tunnel-ingress-controller icon indicating copy to clipboard operation
cloudflare-tunnel-ingress-controller copied to clipboard

Feature Request: Configurable IP Adress Family for tunnel

Open qroac opened this issue 1 year ago • 2 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.

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 11:08 qroac

May be you can edit the config file to use only IPV4 addresses. You can edit config.yml file and mention edge-ip-version as 4.

RajKamal-chirala avatar Sep 17 '24 11:09 RajKamal-chirala

also relates to https://github.com/STRRL/cloudflare-tunnel-ingress-controller/issues/128

customized cloudflared

STRRL avatar Oct 04 '24 21:10 STRRL

closed by #206

STRRL avatar Jun 22 '25 07:06 STRRL