vault backup: 2024-06-28 20:06:19

This commit is contained in:
2024-06-28 20:06:19 +02:00
parent e706afe18e
commit 201415e327
+30 -1
View File
@@ -19,7 +19,6 @@ apt install ./headscale.deb
systemctl enable headscale
```
## Config file
```
@@ -35,3 +34,33 @@ nano /etc/headscale/config.yaml
headscale users create matthiaspc
```
## Register machine (normal login)
On client:
```
tailscale up --login-server http://78.47.220.149:41111
```
On server:
```
headscale --user myfirstuser nodes register --key <YOUR_MACHINE_KEY>
```
## Register machine with pre auth key
On server:
```
headscale --user matthiaspc preauthkeys create --reusable --expiration 24h
```
On client:
```
tailscale up --login-server <YOUR_HEADSCALE_URL> --authkey <YOUR_AUTH_KEY>
```
---
# Exit Nodes