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: Configurable IP Adress Family for tunnel #109

Open
qroac opened this issue Aug 19, 2024 · 2 comments
Open

Feature Request: Configurable IP Adress Family for tunnel #109

qroac opened this issue Aug 19, 2024 · 2 comments

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.

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

Possible values for VERSION: auto, 4, 6

Cloudflare Docs: edge-ip-version

@RajKamal-chirala
Copy link

RajKamal-chirala commented Sep 17, 2024

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.

@STRRL
Copy link
Owner

STRRL commented Oct 4, 2024

also relates to #128

customized cloudflared

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

3 participants