mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
Update readme with namespace info
This commit is contained in:
parent
b7655b1f68
commit
2733a34033
1 changed files with 11 additions and 6 deletions
17
README.md
17
README.md
|
@ -8,7 +8,7 @@ An open source implementation of the Tailscale coordination server.
|
||||||
- [x] Node registration through the web flow
|
- [x] Node registration through the web flow
|
||||||
- [x] Network changes are relied to the nodes
|
- [x] Network changes are relied to the nodes
|
||||||
- [ ] Node registration via pre-auth keys
|
- [ ] Node registration via pre-auth keys
|
||||||
- [ ] Multiuser support
|
- [ ] (WIP) Multiuser support
|
||||||
- [ ] ACLs
|
- [ ] ACLs
|
||||||
- [ ] DNS
|
- [ ] DNS
|
||||||
|
|
||||||
|
@ -45,21 +45,26 @@ Suggestions/PRs welcomed!
|
||||||
cp config.json.example config.json
|
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
|
```shell
|
||||||
./headscale serve
|
./headscale serve
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Add your first machine
|
6. Add your first machine
|
||||||
```shell
|
```shell
|
||||||
tailscale up -login-server YOUR_HEADSCALE_URL
|
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
|
```shell
|
||||||
./headscale register YOURMACHINEKEY
|
./headscale register YOURMACHINEKEY myfirstnamespace
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue