From 2733a34033c96a3cf6bf8999cdc9af872d526621 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Sun, 28 Feb 2021 01:04:01 +0100 Subject: [PATCH] Update readme with namespace info --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3ed0e2d4..dedea3e3 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ An open source implementation of the Tailscale coordination server. - [x] Node registration through the web flow - [x] Network changes are relied to the nodes - [ ] Node registration via pre-auth keys -- [ ] Multiuser support +- [ ] (WIP) Multiuser support - [ ] ACLs - [ ] DNS @@ -45,21 +45,26 @@ Suggestions/PRs welcomed! cp config.json.example config.json ``` -4. Run the server +4. Create a namespace (equivalent to a user in tailscale.com) + ```shell + ./headscale namespace create myfirstnamespace + ``` + +5. Run the server ```shell ./headscale serve ``` -5. Add your first machine +6. Add your first machine ```shell tailscale up -login-server YOUR_HEADSCALE_URL ``` -6. Navigate to the URL you will get with `tailscale up`, where you'll find your machine key. +7. Navigate to the URL you will get with `tailscale up`, where you'll find your machine key. -7. Register your machine using the headscale CLI +8. In the server, register your machine to a namespace with the CLI ```shell - ./headscale register YOURMACHINEKEY + ./headscale register YOURMACHINEKEY myfirstnamespace ```