A health check service for load-balanced Tailscale servers.
The Canary server is built with .NET 8 and, optionally, Make. On an Ubuntu server, you can ensure these are installed by running:
sudo apt install dotnet-sdk-8.0 makeIf .NET was installed for the first time, or it was updated, update the .NET workloads:
sudo dotnet workload updateThen you can clone this repo:
git clone https://github.com/leightweight/canary.gitTo build, install, and set up the Canary as a systemd service, run the following commands:
cd canary
make
sudo make install
sudo systemctl enable canary
sudo systemctl start canaryThen configure Tailscale to talk to Canary by modifying the /etc/default/tailscaled file to set the --bird-socket flag:
# /etc/default/tailscaled
FLAGS="--bird-socket=/var/run/canary.ctl"Finally, restart Tailscale:
sudo systemctl restart tailscaled