-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add docs on how to set up Windows clients #313
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Connecting a Windows client | ||
|
|
||
| ## Goal | ||
|
|
||
| This documentation has the goal of showing how a user can use the official Windows [Tailscale](https://tailscale.com) client with `headscale`. | ||
|
|
||
| ## Add registry keys | ||
|
|
||
| To make the Windows client behave as expected and to run well with `headscale`, two registry keys **must** be set: | ||
|
|
||
| - `HKLM:\SOFTWARE\Tailscale IPN\UnattendedMode` must be set to `always` to allow Tailscale to run properly in the background | ||
| - `HKLM:\SOFTWARE\Tailscale IPN\LoginURL` must be set to `<YOUR HEADSCALE URL>` to ensure Tailscale contacts the correct control server. | ||
|
|
||
| The Tailscale Windows client has been observed to reset its configuration on logout/reboot and these two keys [resolves that issue](https://github.com/tailscale/tailscale/issues/2798). | ||
|
|
||
| For a guide on how to edit registry keys, [check out Computer Hope](https://www.computerhope.com/issues/ch001348.htm). | ||
|
|
||
| ## Installation | ||
|
|
||
| Download the [Official Windows Client](https://tailscale.com/download/windows) and install it. | ||
|
|
||
| When the installation has finished, start Tailscale and log in (you might have to click the icon in the system tray). | ||
|
|
||
| The log in should open a browser Window and direct you to your `headscale` instance. | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| If you are seeing repeated messages like: | ||
|
|
||
| ``` | ||
| [GIN] 2022/02/10 - 16:39:34 | 200 | 1.105306ms | 127.0.0.1 | POST "/machine/redacted" | ||
| ``` | ||
|
|
||
| in your `headscale` output, turn on `DEBUG` logging and look for: | ||
|
|
||
| ``` | ||
| 2022-02-11T00:59:29Z DBG Machine registration has expired. Sending a authurl to register machine=redacted | ||
| ``` | ||
|
|
||
| This typically means that the register keys above was not set appropriatly. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "register" -> "registry" |
||
|
|
||
| Ensure they are set correctly, delete Tailscale APP_DATA folder and try to connect again. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should also add "delete the node". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. say instead of just APP_DATA. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
say both of these entries should be "string values"