headscale icon indicating copy to clipboard operation
headscale copied to clipboard

[Feature] Compatibility with Tailout

Open plittlefield opened this issue 1 year ago • 4 comments

Use case

Make Headscale work with the Tailout project.

Description

The project Tailout is very promising but has hit a snag working with a Headscale server instead of the Tailscale server.

Here is the issue I opened.

I hope you can help.

Contribution

  • [ ] I can write the design doc for this feature
  • [ ] I can contribute this feature

How can it be implemented?

No response

plittlefield avatar Sep 04 '24 22:09 plittlefield

hmm, looks like it depends on being compatible with the Tailscale SaaS API, this is likely a huge undertaking, it comes up from time to time.

It looks like it only uses API keys and not oauth, making it less impossible. But it is likely more productive, or at least faster, to have tailout implement our new Policy API endpoint than us trying to copy the other one.

kradalby avatar Sep 05 '24 07:09 kradalby

Thanks for your quick response @kradalby. Would you therefore recommend for Tailout to support Headscale by reimplementing the specific API calls without using the Tailscale GO client ?

cterence avatar Sep 05 '24 10:09 cterence

That should allow you to set it up right now at least, we have a gRPC client, so it should be fairly straightforward to add it and use that as an alternative to the Tailscale go client, at least if we support the equivalent to all the endpoints you need.

The available funcs are here https://github.com/juanfont/headscale/blob/main/hscontrol/grpcv1.go, so you can give it a quick skim to see if all you need is there.

kradalby avatar Sep 05 '24 10:09 kradalby

Wow, quick response - thanks everyone! :-)

plittlefield avatar Sep 05 '24 10:09 plittlefield

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Dec 25 '24 01:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jan 01 '25 02:01 github-actions[bot]

Any update?

plittlefield avatar May 07 '25 09:05 plittlefield