-
Notifications
You must be signed in to change notification settings - Fork 767
Description
Hi! I wasn't sure where to ask this so figured to create an issue on this repo in case other people encountering something similar
I often have initial connectivity issues when activating the Wireguard profile. It just gets stuck on the initial handshake and nothing happens. I toggle on and off a couple times and sometimes it just works again on the 2nd try, sometimes on the 8th try. But my point is, it's not reliable. Once connected all is fine and well and works perfectly
I did a bit of digging around and have a feeling it has something to do with the engage.cloudflareclient.com endpoint, but even pinning this to a specific IPv4 did not properly resolve the issue.
An AI debugging session mentioned it could be due to initial DNS resolution failing because the tunnel establishes before DNS can be resolved, though I wasn't able to verify this.
This happens on all my devices: iPhone, mac with official Wireguard client, gl-inet router, UniFi router
Example file I generated:
[Interface]
PrivateKey = <strip>
Address = 172.16.0.2/32, 2606:4700:110:8c5e:95f5:a285:7afa:f8fa/128
DNS = 1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001
MTU = 1280
[Peer]
PublicKey = <strip>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = engage.cloudflareclient.com:2408
Any ideas?