- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config.yaml | ||
| docker-compose.yml | ||
| README.md | ||
ayeHeadscale
the fleet's own tailnet — Headscale, named aye, self-hosted so the coordination server is the fleet's, not the cloud's. "fine touch from within", applied to the network.
why
the motor's swe_af fanout died because the Mac dropped off the Tailscale
cloud (coordination server unreachable, backend NoState). ayeHeadscale
moves the control plane in-house: the fleet owns its own coordination, so
"logged out" stops being a wall someone else owns.
run (docker)
docker compose up -d
docker compose exec headscale headscale users create fleet
docker compose exec headscale headscale preauthkeys create --user fleet
point a node at it:
tailscale up --login-server https://headscale.vaked.dev
the layers
| layer | what it holds |
|---|---|
| server_url | the coordination endpoint the nodes dial |
| prefixes (100.64.0.0/10) | the CGNAT space the tailnet lives in |
| magic dns | *.vaked.dev names for every node, resolved by the fleet |
| sqlite | the state, one file — the ledger of the tailnet |
Rust prototype
The Rust crate is a separate in-memory admission and address-allocation model.
It does not run the Headscale service, read config.yaml, implement a tailnet
protocol, or persist keys and nodes. The Docker instructions above run upstream
Headscale instead.
Use one Coordinator instance to issue a synthetic key and register nodes in
library tests. Each Rust CLI invocation creates a fresh coordinator: key
does not authorize a later join process, and list starts empty. A refused
join writes its reason to stderr and exits with status 1.
Coordinator::default() and Coordinator::new() both start at 100.64.0.1.
Registration refuses an exhausted 100.64.0.0/10 pool without adding a node.
Run the offline prototype tests with cargo test --locked --offline.
ayeheadscale · the fleet's own tailnet · fine touch from within · vaked.dev · 8b-is