Skip to content

Commit

Permalink
fix(headscale): some notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Oct 19, 2023
1 parent bc8cb5c commit ba1d871
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Tools/Headscale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Headscale

Headscale is a self-hosted, open source implementation of the Tailscale control server.


## Connect a client to the server

### Create a user

In case you don't have a user yet, you can create one with the following command:

```bash
headscale users create <user>
```

### Get an authkey for the user

```bash
headscale --user <user> preauthkeys create --reusable --expiration 1h
```

### Authenticate tailscale client

```bash
tailscale up --login-server <headscale url> --authkey <authkey>
```

#### Check status

```bash
tailscale status
```

0 comments on commit ba1d871

Please sign in to comment.