8000 GitHub - tame-gg/Flavor: Desktop app and CLI for Linux, macOS and Windows that keeps several Tailscale and Headscale networks connected at once: one embedded tsnet node per network, one device list across tailnets, and a connection inspector for overlapping IPs. · GitHub
[go: up one dir, main page]

Skip to content
tame-ggPublic

About

Desktop app and CLI for Linux, macOS and Windows that keeps several Tailscale and Headscale networks connected at once: one embedded tsnet node per network, one device list across tailnets, and a connection inspector for overlapping IPs.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Flavor logo

Flavor

Several Tailscale and Headscale networks, connected side by side on one Linux, macOS or Windows desktop.

Flavor is an open-source desktop app, CLI and per-user daemon for Linux, macOS and Windows. It keeps multiple tailnets connected at the same time, shows every device with the network it belongs to, and tells you where a connection will go when two networks use the same address.

Release AUR CI License: MIT Platform: Linux | macOS | Windows

Install · Quick start · Documentation · Releases

The Flavor desktop app with four networks: Acme staging and Home lab on Headscale and Work on Tailscale are connected, and Studio on Headscale is waiting for sign-in

Note

Flavor is in beta. Version 0.1.0-beta.11 runs on Linux, macOS and Windows (x86_64 and arm64). The project was called Lattice until 0.1.0-beta.2; upgrading keeps your networks and device identities (details).

Why Flavor?

Tailscale and Headscale connect your devices into private, WireGuard-based networks called tailnets. It is common to need more than one: a company tailnet, a Headscale server at home, a customer's network. Connecting to several at once is one of Tailscale's longest-standing feature requests, and the official Tailscale apps can only have one tailnet active at a time, so reaching another means switching accounts.

Flavor keeps all of them connected. Each network runs as its own embedded Tailscale node with its own identity, so this computer appears as a separate machine on each one.

Using several networks at once brings a new problem: they can use the same addresses. With its default settings, Headscale hands out 100.64.0.1, 100.64.0.2 and so on in order, so two Headscale networks usually overlap:

Home lab       100.64.0.3  ->  pi-hole
Acme staging   100.64.0.3  ->  grafana

An address alone cannot tell those two machines apart. Flavor identifies every device by its network, and makes the network part of every decision:

What Flavor does
See it The device list shows both machines, each with its network. The Conflict Center lists every address, name and subnet route that exists more than once.
Explain it The Connection Inspector and flavorctl explain show every network a destination exists on, what matched and whether the answer is unique. Overlapping subnet routes resolve to the most specific one.
Choose it Name the device together with its network (pi-hole.home-lab.flavor.internal), pass --network to flavorctl forward, or set a preference. Flavor never picks one at random.
Connect to it flavorctl forward and flavorctl socks connect through the right network without changing system routing. They also accept names that a network's DNS settings publish, such as Headscale extra_records, names under its split DNS domains, and short names completed with its search domains.
Leave through it Pick an exit node per network with flavorctl exit-node set <network> <device> (list shows the candidates, clear <network> removes it). flavorctl forward and flavorctl socks send destinations that are on no tailnet, such as 203.0.113.7 or example.com, out through it.
Offer routes Advertise subnet routes per network with flavorctl routes advertise <network> <cidr>, so devices on the network reach your LAN through this machine. Flavor forwards TCP for them; UDP is not forwarded. flavorctl routes list shows which ones the control server reports as approved. Headscale does not report subnet route approvals to the advertising machine, so they can show as not approved while they already work.
Use it anywhere With the experimental helper, any program can resolve and connect to Flavor names.

Everything except the last row runs as your user, with no extra privileges. The last row needs an optional helper that runs as root.

Features

Many networks at once

  • Connect Tailscale accounts and any number of Headscale servers at the same time, all from one daemon.
  • Each network is its own embedded Tailscale node (tsnet) with its own node key, state and peers. You do not need the tailscale package or tailscaled.
  • Sign in through the browser, or join with a one-time pre-auth key that is never stored.
  • Device identities survive restarts, so networks reconnect without signing in again. Each network can connect automatically when Flavor starts.
  • Workspaces connect a named set of networks, such as Work or On call, in one step.

One device list

  • Every device on every connected network in one searchable table. The same address on two networks shows up as two machines, because Flavor identifies devices by network and node.
  • Search by name, address, network, OS or tag, with qualifiers such as is:online and tag:db.
  • Device details show DNS names, addresses, routes and Flavor names, with buttons to copy them.

Decisions you can read

  • Connection Inspector: type an address or name and see which networks it exists on, how it matched, and why one answer wins or why none does.
  • Conflict Center (the Conflicts page): every address, DNS name, device name and subnet route that exists more than once, sorted into expected overlaps and real ambiguities.
  • Flavor names of the form <device>.<network>.flavor.internal point at one device, or are reported as ambiguous if two devices share a label.
  • Destination preferences tell Flavor which network you mean for an exact address or name.

Reach services without root

  • flavorctl forward listens on a local port and forwards to a service on the network you choose.
  • flavorctl socks runs a SOCKS5 proxy for browsers, curl and other clients.
  • Both listen on loopback only, accept connections only from your own user, check every new connection again and refuse ambiguous destinations.
  • Experimental: system-wide names let any program use Flavor names directly, through a small helper that runs as root with only CAP_NET_ADMIN. It is off by default and meant for single-user machines.

Built for daily use

  • A diagnostics page and flavorctl diag, which never include keys or sign-in links.
  • flavorctl covers networks, device lists, decisions, workspaces and preferences, and adds forwarding and the proxy, with --json output for scripts.
  • Closing the window keeps Flavor in the tray, and quitting the app never disconnects your networks.
  • No telemetry, and Tailscale's log upload is turned off for every network.
Connection Inspector showing that 100.64.0.3 exists on two networks, with the grafana device on Acme staging, its DNS name and its Flavor name

Same address, two networks. Each match comes with the names that tell them apart.

Connection Inspector deciding that 10.20.30.40 goes to the Work network through office-router, because its 10.20.30.0/24 route is more specific than a route on Acme staging

Overlapping routes. The most specific subnet route wins, and Flavor says why.

Conflict Center listing 13 overlaps: an ambiguous 192.168.1.0/24 route advertised on two networks, and the address 100.64.0.1 used on two networks, which is an expected overlap

Conflict Center. Every overlap, sorted into expected and ambiguous.

Device list with devices from the Acme staging, Work and Home lab networks in one table, each with its network, provider, addresses and online status

One device list. Tailscale and Headscale devices together, each with its network.

Install

Flavor runs on Linux (x86_64 and arm64) with systemd. The desktop app needs glibc 2.39 or newer, WebKitGTK 4.1 and libayatana-appindicator (details).

Release tarball, for recent systemd-based distributions. Download and verify it first:

v=0.1.0-beta.11
base=https://github.com/tame-gg/Flavor/releases/download/v$v
curl -fLO $base/flavor-$v-linux-amd64.tar.gz -fLO $base/SHA256SUMS -fLO $base/SHA256SUMS.asc
sha256sum --check --ignore-missing SHA256SUMS
curl -fsSL https://github.com/ohemilyy.gpg | gpg --import
gpg --verify SHA256SUMS.asc SHA256SUMS

Continue only if the checksum is OK and gpg reports a good signature from the release key 0DFC 4321 62BF 84C0 FD78 0619 FBB9 6BCE C036 1F01. Then install:

tar -xzf flavor-$v-linux-amd64.tar.gz
sudo ./flavor-$v-linux-amd64/install.sh
systemctl --user enable --now flavord

On arm64, replace amd64 with arm64. install.sh needs root to copy files into /usr and /etc; Flavor itself runs as your user. A Sigstore signature and GitHub build provenance are also available; see Verify the download.

Arch Linux, from the AUR: flavor-bin repackages the signed release, and flavor builds from the signed tag. With an AUR helper:

yay -S flavor-bin
systemctl --user enable --now flavord

The packages verify the release's GPG signature, so import the key first if your helper asks for it: curl -fsSL https://github.com/ohemilyy.gpg | gpg --import (details).

macOS, on Intel and Apple Silicon, with Homebrew:

brew install tame-gg/tap/flavor
brew services start flavor
brew install --cask tame-gg/tap/flavor-desktop

The app is not notarized yet, so macOS blocks its first launch until you click Open Anyway in System Settings › Privacy & Security. Without Homebrew, install the darwin-arm64 or darwin-amd64 tarball from the release into your home directory. Both are covered in macOS.

Windows 11, on x64 and ARM64: download flavor-<version>-windows-amd64-setup.exe (or arm64) from the release and run it. It installs for your user without administrator rights and starts the daemon at sign-in. The installer is not code-signed yet, so SmartScreen may ask you to click More info, then Run anyway. With Scoop, run scoop bucket add tame-gg https://github.com/tame-gg/scoop-bucket, then scoop install tame-gg/flavor. Checking the download, the zip, Scoop and uninstalling are covered in Windows.

From source: build Flavor yourself, optionally into your home directory without root.

To remove Flavor, run sudo /usr/libexec/flavor/uninstall, or sudo pacman -Rns flavor-bin (or flavor) for the Arch packages. Your networks and identities stay in your home directory unless you delete them.

Quick start

  1. Start the daemon: systemctl --user enable --now flavord.
  2. Open Flavor from your application menu and choose Add network.
  3. For Tailscale, name the network, choose Add network, then Open sign-in page to sign in in your browser. For Headscale, also enter your server's address in Control server, then sign in through the browser or paste a pre-auth key.
  4. Open Devices to see every machine on your networks, and the Connection Inspector to check where an address or name goes.

The getting started guide walks through each step, including Headscale registration and device approval.

Command line

flavorctl talks to the same daemon as the desktop app:

$ flavorctl add --name "Home lab" --headscale https://hs.home.example.net --auto-connect
01J9X4T6K8M2Q7R3V5W0YBZCDE
$ printf '%s\n' "$PREAUTH_KEY" | flavorctl enroll 01J9X4T6K8M2Q7R3V5W0YBZCDE

$ flavorctl explain 100.64.0.3
destination  100.64.0.3 (address)
decision     ambiguous: exists on 2 network(s); use a full DNS name to pick one
reason       multiple matches

NETWORK       DEVICE   MATCH           STATUS  ADDRESSES
Acme staging  grafana  device address  tied    100.64.0.3,fd7a:115c:a1e0::3
Home lab      pi-hole  device address  tied    100.64.0.3,fd7a:115c:a1e0::3

Reach a service on a specific network through a local port. forward prints the port and runs until you press Ctrl+C:

$ flavorctl forward --listen 127.0.0.1:5432 postgres.acme-staging.flavor.internal:5432
Forwarding

  127.0.0.1:5432
      ↓
  postgres.acme-staging.flavor.internal:5432
      ↓
  Acme staging
      ↓
  100.64.0.2:5432

Reason: network qualified name
Each new connection is checked again before it is forwarded. Ctrl+C to stop.

Point your client at 127.0.0.1:5432. Or start a SOCKS5 proxy on 127.0.0.1:1080 with flavorctl socks, and point clients at it from another terminal:

$ curl --proxy socks5h://127.0.0.1:1080 http://pi-hole.home-lab.flavor.internal/

See the flavorctl reference for every command, and Names, decisions and connections for how Flavor decides.

How it works

The Flavor desktop app, flavorctl and your own apps talk to flavord, a per-user daemon, over a local Unix socket, SOCKS5 or a forwarded port. flavord runs one embedded tsnet node per network, each connected to its own Tailscale or Headscale control server. An optional root helper, flavor-netd, creates a TUN device, routes and systemd-resolved configuration for system-wide Flavor names.
Component Runs as Role
flavor-desktop you Desktop app: a Tauri 2 shell in Rust with a React interface
flavorctl you Command-line client for the same API
flavord you, as a systemd user service Daemon: one embedded Tailscale node per network, the decision engine, forwarding and the SOCKS5 proxy
flavor-netd root, started on demand Optional helper for system-wide names: a TUN interface, routes and systemd-resolved settings, with CAP_NET_ADMIN only

The desktop app and flavorctl talk to flavord with Connect-RPC over a Unix socket, or a named pipe on Windows, that only your user can use. The app's webview never touches that socket; it can only call the desktop shell's own commands. See Architecture for details.

Security and privacy

  • No root for everyday use. flavord has no Linux capabilities. Only the optional helper runs as root, with CAP_NET_ADMIN only, polkit authorization, systemd sandboxing and an AppArmor or SELinux profile.
  • Your user only. The daemon socket, forwarded ports and the SOCKS5 proxy all check that each connection comes from your user ID.
  • Keys are not kept. Pre-auth keys are used once and never written to disk, logs or diagnostics. Each network's identity lives in its own directory under ~/.local/share/flavor.
  • No telemetry. Flavor sends nothing to its developers, and Tailscale's log upload is turned off.
  • Update checks you can turn off. On macOS and Windows, the desktop app checks cdn.tame.gg for a new version on launch and every six hours, and asks before installing it. Turn off Check for updates automatically in Settings to stop it; the app then never contacts the update server. Linux installs are updated by your package manager or tarball and never check.
  • Separate identities, shared process. Networks are kept apart logically, but they run in one daemon process and are not sandboxed from each other.
  • Verifiable releases. SHA256SUMS is signed with Sigstore and with the maintainer's GPG key, each tarball has a GitHub build-provenance attestation and an SBOM, and rebuilding a release commit with the same toolchains produces identical files.

Flavor has not had an independent security audit. Read the security model, and report vulnerabilities privately as described in SECURITY.md.

Platform support

Status
Linux on x86_64 and arm64, with systemd Supported (beta)
macOS on Intel and Apple Silicon Supported (beta); builds are not signed with an Apple Developer ID yet
Desktop app Needs glibc 2.39 or newer, for example Ubuntu 24.04, Debian 13, Fedora 40 or newer, or Arch Linux
Headscale Tested with Headscale 0.26.1
Tailscale's hosted service Implemented; live acceptance testing is still pending
System-wide names Experimental; Linux only; needs systemd-resolved; single-user machines only
Windows 11 on x64 and ARM64 Supported (beta); the installer is not code-signed yet

Flavor embeds version 1.90.9 of Tailscale's client library. Headscale supports a window of recent Tailscale client versions, so a much newer Headscale release may eventually need a newer Flavor. Flavor does not use or replace the official Tailscale client; running both at the same time has not been tested. The tested environments are listed in the install guide.

Roadmap

Available in v0.1.0-beta.11: several Tailscale and Headscale networks at once, the device list, Connection Inspector, Conflict Center, Flavor names, destination preferences, workspaces, port forwarding, the SOCKS5 proxy, diagnostics, flavorctl, signed, reproducible and hardened (PIE, full RELRO) releases, macOS builds for Intel and Apple Silicon, a Homebrew tap, Windows builds for x64 and ARM64 with an installer, and the flavor and flavor-bin AUR packages.

Experimental: system-wide names through the flavor-netd helper.

Planned, not built yet:

  • System-wide names on multi-user machines
  • An HTTP proxy
  • Offering this machine as an exit node, which needs UDP forwarding
  • Signed and notarized macOS builds (#15)
  • Removing machines from the control server

Documentation

The guides live in the project wiki:

Contributing and support

To Go to
Report a bug Bug report
Suggest a feature Feature request
Ask a question Open an issue
Contribute code or docs CONTRIBUTING.md
Report a vulnerability Privately, as described in SECURITY.md

Everyone taking part is expected to follow the code of conduct.

Related projects

Other open-source projects approach several tailnets at once in different ways, for example:

  • tailmux: a daemon, CLI and desktop app for macOS, Windows and Linux, with a TUN mode and a proxy mode.
  • tailmix: several tsnet nodes behind one TUN device, for macOS and Linux.
  • Tailhopper: one SOCKS5 proxy per tailnet.
  • Hydrascale: one tailscaled per tailnet, each in its own network namespace, on Linux.

For a single tailnet on Linux, Trayscale and KTailctl are desktop interfaces for the official Tailscale client.

Acknowledgements

Flavor is built on Tailscale's tsnet library, Tauri, Connect and the gVisor network stack, and is tested against Headscale.

Flavor is an independent project. It is not affiliated with or endorsed by Tailscale Inc. or the Headscale project. Tailscale is a trademark of Tailscale Inc. WireGuard is a registered trademark of Jason A. Donenfeld.

License

MIT © 2026 Luna

About

Desktop app and CLI for Linux, macOS and Windows that keeps several Tailscale and Headscale networks connected at once: one embedded tsnet node per network, one device list across tailnets, and a connection inspector for overlapping IPs.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0