-
Notifications
You must be signed in to change notification settings - Fork 10
[Enhancement] node list and exit node list cannot be populated when using non-standard custom IP Range in headscale #20
Description
Hi! first of all thanks for developing this useful plugin!
Disclaimer: Ultimately this should be a issue with tailscale-cli, so I will open one on their repo sometimes later. But since this is headscale + non standard config, I wouldn't expect tailscale official to fix their cli binary any time soon, so I had to seek help from the UI side.
So what's the problem?
I am using self-hosted headscale network and assigning non-standard IPs to my nodes. The non-standard IP is crucial to allow some of my devices to use tailscale and other VPN services together with out routing conflict on the 100.x.y.z ip range.
Tailscale works mostly flawless without any connection issue. There is only one small UI issue with tailscale-cli, that it won't be able to print the IPs of other nodes.
As a result, this plugin won't be able to properly populate the nodelist when parsing the following result:
bazzite@bazzite:~$ tailscale status
172.27.143.7 bazzite mobile linux -
fedora home linux active; offers exit node; xxxx
mac mobile macOS offline
mycone cloud linux -
myiphone mobile iOS -
powercube home windows active; direct xxxx
tricone cloud linux active; offers exit node; xxxx
bazzite@bazzite:~$ tailscale ping 172.27.143.4
pong from fedora (172.27.143.4) via 192.168.50.60:41641 in 4ms
bazzite@bazzite:~$ tailscale ping fedora
node found but lacks an IP
Tailscale-iOS and Tailscale-windows GUI apps all works fine and can properly populate node list and set them as exit node. Here is an example in
iOS app vs Decky:

I will take a look at your the source code and create an PR when I figure it out. For now I wanna keep this for record.