Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Compatibility with Tailout #2103

Closed
2 tasks
plittlefield opened this issue Sep 4, 2024 · 6 comments
Closed
2 tasks

[Feature] Compatibility with Tailout #2103

plittlefield opened this issue Sep 4, 2024 · 6 comments
Labels
enhancement New feature or request stale

Comments

@plittlefield
Copy link

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

@kradalby
Copy link
Collaborator

kradalby commented Sep 5, 2024

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.

@cterence
Copy link

cterence commented Sep 5, 2024

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 ?

@kradalby
Copy link
Collaborator

kradalby commented Sep 5, 2024

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.

@plittlefield
Copy link
Author

Wow, quick response - thanks everyone! :-)

Copy link
Contributor

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

@github-actions github-actions bot added the stale label Dec 25, 2024
Copy link
Contributor

github-actions bot commented Jan 1, 2025

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants
@kradalby @plittlefield @cterence and others