tailscale-dev / tclip

A pastebin for Tailscale users
BSD 3-Clause "New" or "Revised" License
154 stars 17 forks source link

Support for Headscale #56

Closed Erisa closed 4 months ago

Erisa commented 4 months ago

An option (TNSET_CONTROL_URL) for an alt control server e.g. Headscale, was added in https://github.com/tailscale-dev/tclip/pull/55 however there may still be some remaining issues resulting in a "HTTPS is not enabled in the admin panel" error.

Making this issue to track Headscale usage testing, will be closed when all works to my liking.

Erisa commented 4 months ago

I've added two new options you'll need to use in order for tclip to work with Headscale:

If you don't use both those variables in that way, you will see failure with "HTTPS is not enabled in the admin panel".

A full list of configuration options is available here: https://github.com/tailscale-dev/tclip?tab=readme-ov-file#configuration

If you run into any issues, please set TSNET_VERBOSE=true and create a new Issue with relevant log lines.