# 70 Was ist bei Headscale identisch mit Tailscale, was macht nur die Tailscale-Cloud? (Stand 2026-10-24)
# Nur offizielle Doku: Headscale-Repo Tag v0.29.6 (HS = https://github.com/juanfont/headscale/blob/v0.29.6),
# tailscale.com/docs, tailscale.com/pricing, Tailscale-Quelltext v1.104.2. Recherchiert 24.10.2026 ab 11:20 UTC.
# Die Tailscale-Cloud wurde NICHT gemessen (kein Konto). Gemessen wurde Headscale mit dem offiziellen Tailscale-Client 1.104.2.

## 1 Client: identisch
- Headscale nutzt den unveränderten offiziellen Tailscale-Client, auch die Apps aus App Store/Play Store/F-Droid.
  "how a user can use the official iOS and macOS Tailscale clients with headscale"  HS/docs/usage/connect/apple.md
  "Install the official Tailscale Android client from the Google Play Store or F-Droid"  HS/docs/usage/connect/android.md
  Tailscale: "an independent, community-maintained, open-source coordination server for Tailscale clients"  https://tailscale.com/opensource
- Anbindung: "tailscale up --login-server <YOUR_HEADSCALE_URL>"  HS/docs/usage/getting-started.md
- Mindestversion Client: "Minimum supported Tailscale client version: v1.80.0"  HS/CHANGELOG.md (0.29.x)
  Im Lab-Log: "Clients with a lower minimum version will be rejected minimum_version=v1.80" (measurements/20)

## 2 Datenweg: identisch im Client, DERP-Auswahl hängt am Kontrollserver
- "The data plane operates on individual devices within your tailnet, handling the actual movement of encrypted data
   between devices using the WireGuard protocol."  https://tailscale.com/docs/concepts/control-data-planes
- "Tailscale doesn't route any traffic through the coordination service"  (dieselbe Seite)
- Headscale lädt ab Werk Tailscales öffentliche DERP-Karte:
  urls: - https://controlplane.tailscale.com/derpmap/default   HS/config-example.yaml (im Lab: measurements/21)
- Eingebauter DERP: "The embedded DERP server is disabled by default and needs to be enabled."  HS/docs/ref/derp.md
  "Once enabled, Headscale's embedded DERP is added to the list of free-to-use DERP servers offered by Tailscale Inc."  (dieselbe Seite)
  "There are no speed or throughput optimisations, the main purpose is to assist in node connectivity."  (dieselbe Seite)
- DERP-Durchsatz laut Tailscale: "DERP servers are reliable but have limited quality of service (QoS) characteristics,
  so they are generally slower than direct connections and may offer lower maximum throughput."
  https://tailscale.com/docs/reference/connection-types   (konkrete Grenzwerte: nicht in offizieller Doku belegt)
- Garantie/Fair Use der Tailscale-DERP-Server für Headscale-Nutzer: nicht in offizieller Doku belegt.
- "Custom DERP servers won't benefit from some optimizations from the Tailscale control plane."  https://tailscale.com/docs/reference/derp-servers
- Peer Relays (Tailscale 1.86+): "high-throughput relay servers when direct connections aren't possible"
  https://tailscale.com/docs/features/peer-relay ; Headscale: "[x] Peer relays"  HS/docs/about/features.md

## 3 Policy-Format: dasselbe HuJSON, mit Lücken
- "Headscale uses the same huJSON based file format as Tailscale."  HS/docs/ref/policy.md
- Unterstützt: "[x] ACLs", "[x] Grants", "[x] Tests and sshTests"  HS/docs/about/features.md
- Nicht unterstützt: "Device postures and the related sections such as `postures` or `srcPosture` aren't supported.",
  "IP sets aren't supported.", "A subset of Autogroups are available."  HS/docs/ref/policy.md ;
  "OIDC groups cannot be used in ACLs"  HS/docs/about/features.md
- Voreinstellung Headscale: "By default, no policy is loaded which means that Headscale allows all traffic between nodes."  HS/docs/ref/policy.md
- Voreinstellung Tailscale-Cloud: "Tailscale initializes it with a default allow all access policy"  https://tailscale.com/docs/reference/examples/acls
- Im Lab gemessen (measurements/50): ohne Policy alles offen; Regel "peer-a -> peer-b:22" greift nach 2,3 s; Ping bleibt erlaubt,
  weil der Client ICMP zu jedem Ziel durchlässt, zu dem irgendein Port offen ist (filter.go v1.104.2, Zeile 519-520:
  "If any port is open to an IP, allow ICMP to it."). Das ist Client-Verhalten und gilt damit auch in der Cloud.

## 4 Was nur die Tailscale-Cloud hat (laut Headscale-Featureliste)
- Ausdrücklich fehlend: "[ ] Funnel", "[ ] Serve", "[ ] Network flow logs"  HS/docs/about/features.md
- Nicht aufgeführt (also nicht als unterstützt belegt): Tailnet Lock, App Connectors, HTTPS-Zertifikate (tailscale cert),
  Device Approval, Device Posture.
- Vorhanden laut Featureliste (also NICHT "nur Cloud"): MagicDNS, Split DNS, Taildrop, Taildrive, Tags, Subnet Router,
  Exit Nodes, Ephemeral, eingebauter DERP, Peer Relays, ACLs, Grants, Tailscale SSH, Tests, SSO per OIDC.
- Weboberfläche: "Headscale doesn't provide a built-in web interface but users may pick one from the available options."
  HS/docs/ref/integration/web-ui.md (gelistete Oberflächen sind Community-Projekte)
- Schlüsselablauf: Headscale "Default: 0 (no default expiry)" und "Tailscale SaaS uses 180d; set to a positive duration
  to match that behaviour."  HS/config-example.yaml (node.expiry) ; Tailscale: "By default, new domains are set with an
  expiry period of 180 days."  https://tailscale.com/docs/features/access-control/key-expiry
  Im Lab: headscale nodes list zeigt Expiration "N/A" (measurements/40).
- Zielgruppe Headscale: "It implements a narrow scope, a _single_ Tailscale network (tailnet), suitable for a personal use,
  or a small open-source organisation."  HS/README.md ; "Headscale is not enterprise software and our focus is homelabbers
  and self-hosters"  HS/docs/about/faq.md
- Tailscale: "Headscale is a community-maintained project, not Tailscale-managed or part of the supported Tailscale product."
  https://tailscale.com/opensource

## 5 Ausfall des Kontrollservers laut Tailscale-Doku
- "tailnet devices can still communicate with pre-established connections and use cached network policies. However, they
   won't be able to establish new connections, alter their keys, or retrieve network policy updates"
  https://tailscale.com/docs/concepts/control-data-planes
- Im Lab (measurements/40): 10 min ohne Server 0 Verluste; neu gestarteter Client: "load netmap from cache: netmap cache is not
  available", danach "You are logged out", Tunnel tot bis der Server zurück war. Ein Netzkarten-Zwischenspeicher existiert
  im Client also, war mit Headscale aber nicht verfügbar. Ob die Tailscale-Cloud ihn einschaltet: nicht gemessen,
  nicht in offizieller Doku belegt.

## 6 Kosten Tailscale-Cloud (Plan Personal)
- "$0 Free forever", "Unlimited user devices", "Up to 6 users", "Up to 3 ACL groups", "Up to 50 tagged resources to start"
  https://tailscale.com/pricing ; "Personal users have access to the free tier plan for non-commercial use" (dieselbe Seite)
  Standard 8 USD, Premium 18 USD je Nutzer und Monat.

## Was aus diesem Lab auf die Tailscale-Cloud übertragbar ist
- Übertragbar: alles, was im Client passiert. Direktverbindung, Durchsatz und CPU direkt (measurements/33), Wechsel auf Relay
  und zurück (measurements/34, 35), ICMP-Verhalten der ACL (measurements/50).
- Nicht übertragbar: Relay-Durchsatz (Cloud wählt DERP-Regionen mit eigenen Optimierungen), alles am Kontrollserver
  (Einrichtung, RAM, Ports, Wiederanlauf, Entziehen), Verhalten des neu gestarteten Clients ohne Server (Netzkarten-Cache).
