Files
obsidian/HomeLab/VPS/Headscale.md
T

38 lines
637 B
Markdown

# Installation
## Download
```
HEADSCALE_VERSION="" # See above URL for latest version, e.g. "X.Y.Z" (NOTE: do not add the "v" prefix!)
HEADSCALE_ARCH="" # Your system architecture, e.g. "amd64"
wget --output-document=headscale.deb \
"https://github.com/juanfont/headscale/releases/download/v${HEADSCALE_VERSION}/headscale_${HEADSCALE_VERSION}_linux_${HEADSCALE_ARCH}.deb"
```
## Install Headscale
```
apt install ./headscale.deb
```
## Enable service
```
systemctl enable headscale
```
## Config file
```
nano /etc/headscale/config.yaml
```
---
# Using Headscale
## Creating users
```
headscale users create matthiaspc
```