juanfont / headscale

An open source, self-hosted implementation of the Tailscale control server
BSD 3-Clause "New" or "Revised" License
23.48k stars 1.29k forks source link

From readme, I can see that there is already a Windows client, but I can't find the place to download it #269

Closed chenxudong2020 closed 2 years ago

chenxudong2020 commented 2 years ago

From readme, I can see that there is already a Windows client, but I can't find the place to download. Please tell me where to download the Windows client. Thank you; It's best to put the Windows client to the distribution for download.

lauhayden commented 2 years ago

Headscale is simply a third-party control server for Tailscale - the compatibility list in the readme is with the first-party clients, which can be downloaded here: https://tailscale.com/download

lauhayden commented 2 years ago

Unfortunately there is a bug (https://github.com/tailscale/tailscale/issues/2798) in the windows tailscale client right now preventing the login server from being saved. A workaround that's available is to set a bunch of registry keys, which can be found here in an ansible script (found by searching the Discord history): https://github.com/kradalby/plays/blob/master/roles/win_tailscale/tasks/main.yaml#L20

chenxudong2020 commented 2 years ago

How do windows clients login or use commands?

lauhayden commented 2 years ago

I'm assuming you have a server set up. if you don't, and don't understand the documentation (https://github.com/juanfont/headscale/tree/main/docs), then I would say that this project is not for you.

  1. Get headscale running on a server of your choice, with a namespace.
  2. Download and install the Windows app from the link I gave above. Make sure it's not running.
  3. Set two registry keys: HKEY LOCAL MACHINE\SOFTWARE\Tailscale IPN\UnattendedMode (string): always HKEY LOCAL MACHINE\SOFTWARE\Tailscale IPN\LoginURL (string): https://[your_headscale_url_here]
  4. Run the Tailscale app and right click -> login. It should direct you to a page on your headscale instance. Copy the command it gives. Run the command on your server, replacing the namespace with the one you set up. Your windows Tailscale client should be connected now.
chenxudong2020 commented 2 years ago

https://github.com/juanfont/headscale/blob/main/docs/running-headscale-linux.md

Can you provide RPM package or DEB package? I find that the document is very complex?

chenxudong2020 commented 2 years ago

Thank you, I'll try

lauhayden commented 2 years ago

The documentation is quite rough on the edges, but should be doable with an hour or two of troubleshooting. There is no RPM or DEB yet, but there is a docker image that you can use. Reminder that this is a volunteer-run open source project in a sort of alpha/beta state, you're expected to figure some stuff out yourself. I'm not even affiliated with the authors of this project. You can ask the discord (link in Readme) for some help if you get stuck.

chenxudong2020 commented 2 years ago

v 非常感谢 Thank you.