-
Notifications
You must be signed in to change notification settings - Fork 25
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
Headscale - IPv6 / DNS Resolving Issues - Not Able to Authenticate at All #19
Comments
Have you try this solution ?
Also I'm already test install headscale server, tested with default configuration and working perfectly without problem. Can you tell me any custom setting for headscale so I cant test it for myself ? Dont forget to join my telegram group for discussion. |
Can confirm @ri-char 's solution is the only way for me right now. If the proxy is a VPN one (not a local one, making external connections) only logging in is possible but not connecting to other devices in the tailscale network... Sadly couldn't understand the CoreDNS solution provided here. Also I don't have a resolv.conf in my system, and I need to have everything systemless. Documentation on that workaround could be better if someone else understood it. EDIT: Hardcoded the IP address into the hosts file of the Headscale instance, and it seems to do the trick without the Proxy needed (at first didn't understand the workaround you quoted). But just like the proxy solution this only makes me able to login, inbound connections to my phone work as well, outbound ones are not working... So my phone cannot access other peers, but it works the other way around? The phone can also ping IP addresses that are not present on the network, Also when doing There is no special Headscale config I'm using right now, followed the official docs. Only difference is I had to use the latest alpha (0.23.0-alpha9 to be specific) because of a private key creation error present in the latest stable container verson for some. Planning on trying out your pre-release and reporting back. |
I test headscale with default configuration, connecting with IP directly will solve the dns error issue, but in advance if you want use domain name instead of IP, your solution already answered #14 (comment) Using
|
I'm sorry I forgot to answer your question xD
Yes. Because we use You can test it with In my latest pre-release version, I add socks5 tunnel, so traffict to the 100.x.x.x.x bt default using socks5 on port 1099 |
Thanks for the detailed explanation. I was able to understand it and make it work. The pre-release made outbound connections possible as well. If using third party proxy apps the CPU usage is very high even on a high end phone, but the included hev-socks5 is not heavy on the CPU at all, so I saw no battery drain. The I will keep the issue open even though my problems are solved, we are using hacky ways (manual hosts file entries) to use it and it's not working out of the box (for headscale and probably other open-source tailscale servers) for now. |
Thankyou for your report about CPU usage and no battery drain. Yes we are use the hacky ways because official tailscale doesnt support the binary to run normally in android device, the only way is using userspace networking mode with verry limited tailscale capabilities, maybe because they had 2k issues and doesnt have time to resolve manny issue about running the binary in android devices. Since I cant writing in go lang, cannot help about binary problem, just willing other go developer want to fix the binary problem in android. |
I have tried to compile tailscale by ndk and the dns issue has been resolved, but I don't know if there will be other issues. |
Great news, I've never tried compiling it myself, I've wanted to try it but I haven't had time to do it. You may try this also. termux/termux-packages#10166 (comment) |
I'm using cross-compilation, |
What problem bro ? |
ping is ok but ping the node behind the route(10.0.0.x) is bad, and ssh is also unavailable |
I have compile for android with sdk, new release should fix dns issue and other issue. |
Yes, my ping also bad while connect to route and use |
Encounted with the whole same problem. Solved as #14 instructed:
|
You can also check #14 (comment) this is a repost of it since I wasn't able to reopen the issue.
I'm seeing IPv6 addresses everywhere in the logs, my current location has no IPv6 support, so I'm getting the same errors, seeing lines like:
headscale.example.com
is for privacy of course. Even when having a hosts file entry in Android nothing seems to solve this issue.The derp servers used in the 'trying bootstrapDNS' lines are returning IPv6 addresses first, the IPv4 addresses come later... A picture from the bootstrapDNS request:
First I thought this is a tailscale issue on its own, but since this does not happen on desktop clients I thought we can think of a workaround for the Magisk/KSU module. Things coming to my mind I still have to test:
These are probably not that logical and promising but it's better than not being able to register the device at all. Also a related GitHub issue on
tailscale/tailscale
.The text was updated successfully, but these errors were encountered: