Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Config option for tunnel IP version #104

Open
qroac opened this issue Aug 19, 2024 · 1 comment
Open

Feature Request: Config option for tunnel IP version #104

qroac opened this issue Aug 19, 2024 · 1 comment

Comments

@qroac
Copy link

qroac commented Aug 19, 2024

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

@adyanth
Copy link
Owner

adyanth commented Aug 20, 2024

For a one off use case, feel free to submit a PR like #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants