Just wanted to start a thread for people to gather observations about their attempts to use GL.iNet routers with Headscale, an open-source alternative Tailscale coordination server.
My current status: I set up a Headscale instance on a VPS I control, and added both vanilla OpenWRT and GL.iNet routers (GL-AXT1800, GL-MT2500, GL-MV1000) running latest stable or GLi preview program firmware to the network. The GL.iNet devices were able to connect fine, but they occasionally fall off the network, and also don't seem to automatically connect to it after a reboot.
To connect, on the GLi devices after binding the device, I run
And for a while, things work great. Sometimes the GLi devices disconnect, whereas the OpenWRT devices and others do not. I literally did all this yesterday so I haven't been looking thru the logs yet to see what is happening.
Came to the forum looking for tips, and figured I would start a Headscale thread. Perhaps I/we can figure out a way to stay stably connected with existing firmware. There is another thread requesting that support for custom Tailscale login server be added to GLi firmware: Tailscale Custom Coordination Server
I have a quick question in passing that I was never able to suss out when looking at Tailscale itself or glancing thru the Headscale docs. Are PSKs supported given this is all based (IIRC) on WireGuard?
then made it executable chmod +x /etc/init.d/headscale-tailscale
then enabled it /etc/init.d/headscale-tailscale enable
Finally either reboot or run /etc/init.d/headscale-tailscale restart
after this you can run whatever you want around the tailscale up to get a headscale working and surviving reboots (not had an update to test if it survives updates
Hi all, I’m thinking to buy a GL-MT3000 device, to use it as a personal router and connect it to my headscale istance. I’ve searched the web , but it seems that servers different form tailscale are not much supported. After so much time, was it fixed now?
I’ve found several twiks, but I’ve seen also, that a lot of persons had problem, because it was reset every reboot. I was wondering in all this time this kind of “bug” was fixed or if the firmware was updated in order to connect to other servers different from the tailscale.com?
I mean that the reset is a bug, and I’m aware that the support of a different server could be a request
the sed script in a rc.local is a somekind of tweak, non a solution, but if there is no other solution, hope that at least the script will not be deleted every reboot
In my impression, restarting the router will not reset the script /usr/bin/gl_tailscale, because some users also set the router to host an exit node by modifying the script.
If reboot cause to the script resets, these user who configured a hosted exit node in GL router will be difficult to maintain the custom configuration script.
Very convenient timing that you posted this Bruce, I’d forgotten about it, and just came looking for a solution to the fact that Tailscale loses connection to my self-hosted Headscale server within a few hours on both Slate AX and Beryl AX. This has been very consistent across the past several firmware releases.
I will try setting this up tonight on Beryl AX and see how it performs.
I’m also planning on experimenting with ZeroTier soon, and will eventually self-host a coordination server for that.
Support for connecting to alternate self-hosted servers with Tailscale and ZeroTier in GLi’s firmware would be a huge selling point for me, and for a small but I suspect very loyal segment of users of GLi’s products… SDWAN solutions like these are very useful, but some of us are only willing to use them if we can self-host the coordination servers, because we don’t trust our governments, and leaving the coordination servers hosted by a third-party company is a great way to potentially invite state agents directly into the front door.
There may still be a few people who customize connections to their own self-host servers. Sure, we have opened root permissions and users can modify the startup script according to their needs.
However, if there is a disconnection problem about with coordination servers, it may not have much to do with the firmware. You can capture the network packets to check which packets are not transmitted successfully or are lost.
We will reserve to monitor this request volume. Thanks!