Skip to content

Build Tailscale Linux client and example Apache2 configuration - #2

Open
Bushidosan wants to merge 5 commits into
NetSPI:mainfrom
Bushidosan:main
Open

Build Tailscale Linux client and example Apache2 configuration#2
Bushidosan wants to merge 5 commits into
NetSPI:mainfrom
Bushidosan:main

Conversation

@Bushidosan

Copy link
Copy Markdown

Since Tailscale / Headscale will throw warnings/errors when having mismatching daemon/client versions adding a build for the Tailscale client on Linux helps avoiding this.

I also added an example Apache2 configuration, the value shown in the blogpost (timeout of 0) is not allowed on a standard Apache2 install.

Tailscale has a lot of versions, having a different client gives a warning/error when trying to tailscaled.
Add Linux build for Tailscale client
@Bushidosan

Copy link
Copy Markdown
Author

Another small detail, in the blogpost docker exec headscale headscale preauthkeys create --user default --expiration 90d is given as the command to create a new preauth key. This returns an error as the --user flag expects an integer, for the default user this is 1.

@Bushidosan

Copy link
Copy Markdown
Author
root@vm-headscale:/opt/BOFscale/headscale# docker exec headscale headscale preauthkeys create --user default --expiration 90d
Error: invalid argument "default" for "-u, --user" flag: strconv.ParseUint: parsing "default": invalid syntax
root@vm-headscale:/opt/BOFscale/headscale# docker exec headscale headscale preauthkeys create --user 0 --expiration 90d
Error: creating preauthkey: rpc error: code = Unknown desc = auth-key must be either tagged or owned by user
root@vm-headscale:/opt/BOFscale/headscale# docker exec headscale headscale preauthkeys create --user 1 --expiration 90d
hskey-auth-BVZtV3gZjsJz-dDWv7W6ywQMg03OKSqH21g2hD144JpTj_lDyASk_D0b-0Gs8cQl2ZV7xPxy1YFeT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant