Twingate vs Headscale

Twingate gives per-resource access through a hosted controller with little infrastructure to run. Headscale gives you a self-hosted device mesh with ACLs and subnet routers, scoped to one tailnet and supported by the community.

On this page

Twingate vs Headscale: which fits your remote access estate

If your renewal is driving the decision and you want to keep the control plane under your own roof, Headscale is the option to evaluate, but only if your access needs fit a single device mesh with a small, trusted user population. If you want per-resource policies with less infrastructure to run, Twingate's hosted controller is the simpler fit. The deciding factors are usually who needs access, whether that access is per application or per network, and how much self-hosting effort your team can staff for the long term.

Twingate fits when you want a hosted control plane that your team does not operate, when access should be granted per resource rather than per network segment, and when your identity and group structure needs to drive those grants. Your recurring cost is the subscription, and your one-time work is the connector rollout and policy design. Headscale fits when owning the control plane is a requirement, for example for data residency or lock-in reasons, and when a device mesh with ACLs, subnet routers and Tailscale SSH matches how you reach private hosts. Its server is BSD-3-Clause and supports one tailnet, which suits a small organization more than a broad estate. Expect community support, so confirm your escalation path before you commit. Note that Headscale's README says the project does not support or encourage running it behind reverse proxies or in containers, which constrains your deployment design.

Decide on four points. First, the user population: a small, mostly technical group that already runs Tailscale clients is a strong Headscale case, while a large contractor or mixed-device population usually strains a single tailnet. Second, the access model: if you need to grant one application to one group, Twingate's resource model is more direct. Third, staffing: list who patches, backs up and upgrades the control server and who answers when it fails. Fourth, scope: confirm whether one tailnet covers your sites, environments and admin boundaries. Check OIDC group limits in the Headscale features list, since OIDC groups cannot be used in ACLs, before you assume your identity groups will carry over.

Which option fits which scenario

This table matches common buyer situations to the option that usually fits better, with the reason in one clause and the condition under which the other option would win. Headscale capability claims rely only on its documented feature set, and Twingate capabilities that need confirming are flagged in the row. Use it to shortlist, then test the rows that matter most in your own environment.

ScenarioBetter fit and reasonOther option wins when
Small team, flat network, few adminsTwingate, because the hosted controller and Connectors need no control plane to operateThe team wants no vendor-hosted control plane and has the skills to run one
Per-application access for contractorsTwingate, because it grants access per resource and is designed around that modelContractors can be placed in a single tailnet and per-device ACLs are enough (confirm ACL and grant behavior for your user groups)
One organization wanting full control of the control planeHeadscale, because the control server is self-hosted and the client code is open sourceYour identity provider groups must drive policy, since Headscale OIDC groups cannot be used in ACLs (confirm current behavior for your version)
Multiple tenants or business units needing separate policy domainsTwingate, if its resource and group model can separate tenants (confirm with Twingate)Headscale, since its scope is a single tailnet, so separate domains would need separate deployments
Air-gapped or data-residency-bound networksHeadscale, because the control server runs inside your network, though the Tailscale clients must still be distributed offline (confirm)Twingate, if a hosted controller is acceptable under your residency rules (confirm regional hosting)
Team already running Tailscale clientsHeadscale, because it works with the same Tailscale clients and swaps only the coordination serverTwingate, if you want to retire the Tailscale client stack and standardize on Twingate Connectors
Need for Tailscale SSH, MagicDNS, subnet routers or exit nodesHeadscale, which lists these features in its documented feature setTwingate, if you need its resource-level policies more than device mesh features
Expectation of vendor support and SLAsTwingate, which offers commercial support under its subscription (confirm support terms)Headscale, when your team can staff community-based support and internal troubleshooting

How Headscale, Tailscale clients and subnet routers fit together

The diagram starts at the Tailscale clients on laptops and servers, which register with the self-hosted Headscale control server inside the organization's network. Headscale exchanges WireGuard public keys, assigns client IP addresses and sets user boundaries, and it can use basic OIDC with an identity provider for login. A subnet router advertises the private network to the tailnet, so clients reach it through the mesh. The embedded DERP server and peer relays carry traffic when direct connections fail. Check where the trust boundary sits, which relay path your traffic takes, and whether your identity provider's groups are needed in ACLs, since OIDC groups cannot be used there.

Headscale control server, Tailscale clients and a subnet router, with the internet outside the trust boundary.

How Twingate and Headscale compare on access model and policy

This table compares how Twingate's hosted, resource-based access and Headscale's self-hosted device mesh handle policy, routing, DNS, identity, hosting and support. Read each row against your own resource layout, and confirm any Twingate cell that depends on plan or edition with Twingate before you decide.

CapabilityTwingateHeadscale with Tailscale clients
Access modelPer-resource access to individual private resources through a hosted controllerDevice mesh where enrolled nodes reach each other directly over WireGuard within one tailnet
Policy languagePolicies are defined per resource and group in the Twingate admin console; confirm the exact policy options for your plan with TwingateACLs and grants; OIDC groups cannot be used in ACLs and autogroup support is partial
Network routingConnectors deployed inside the network to reach private resources; confirm connector limits for your plan with TwingateSubnet routers advertise internal ranges, and exit nodes are supported
DNSConfirm DNS handling for private resources with TwingateMagicDNS and split DNS are supported
SSHConfirm whether SSH access is covered by a Twingate feature in your editionTailscale SSH is supported in the feature set
IdentityIdentity provider integration handled by the hosted service; confirm supported providers with TwingateBasic OIDC login, with user profiles updated from the identity provider
ScopeHosted service spanning the resources you define, managed through one Twingate tenantSingle tailnet, suited to personal use or a small organization
HostingHosted controller operated by TwingateSelf-hosted control server that you run and maintain in your own infrastructure
SupportVendor support under your Twingate contract; confirm the support tier with TwingateCommunity support, with documentation maintained for stable and development versions

Who controls the data, the control plane and the identity flow

Twingate and Headscale differ first in who operates the control plane and where the identity and routing decisions live. Each card below names one decision that follows from that difference, along with the evidence a compliance team will ask for.

Where the controller runs

Twingate hosts the controller and relays, so the coordination layer sits outside your network and under Twingate's operations. Headscale's control server runs in your own infrastructure and holds WireGuard node keys, client IP assignments, user boundaries and advertised routes. Ask who must be able to see or change that data, and whether your data residency rules cover metadata about your devices and routes as well as traffic.

Headscale README

Who holds node keys

The control server is the trust anchor for the whole tailnet. In Headscale, the team that runs it is responsible for key exchange, address assignment and the user boundaries that ACLs depend on. A compromised or misconfigured control server affects every enrolled device, so backup, access to the host and change logging for that server belong in your risk register from the start.

OIDC login and its limits

Headscale supports basic OIDC login and refreshes user profiles from the identity provider. OIDC groups cannot be used in ACLs, and autogroups are only partly supported, so group-based access will need to be modeled another way. Confirm which identity claims you need, how offboarding removes a user's nodes, and whether your MFA policy is enforced at the identity provider before a device joins.

Deployment model risk

The Headscale README states that the project does not support or encourage running it behind reverse proxies or in containers. Many platform teams default to both. Confirm with your own architecture review how a reverse proxy, container platform or load balancer would change the support position, the TLS termination path and the operational runbook before you commit to a layout.

Headscale features

MFA evidence for remote access

CIS Safeguard 6.4 expects multi-factor authentication on remote network access, and NIST SP 800-171 requirements 3.1.12 to 3.1.14 expect remote sessions to be monitored, encrypted and routed through managed access points. With Headscale, the evidence is split between the identity provider's MFA logs, the control server's access records and the device enrollment history. Plan how you will export and correlate those records for an assessor.

CIS Control 6 text

Audit logs and monitoring

Twingate reports access activity through its hosted console. With Headscale, you own the logging pipeline: which control server events are captured, where they are forwarded, and how long they are retained. Ask your compliance lead which evidence the assessor will request, such as enrollment, key rotation, ACL changes and session activity, and test that each item can be produced from your own systems before the migration is scheduled.

What Headscale's single-tailnet scope and community support mean for you

Headscale is designed for one tailnet, and its README says the target is a single Tailscale network suitable for personal use or a small open-source organization, aimed at self-hosters and hobbyists. Before you commit, check whether your estate fits inside one tailnet. Business units, production and non-production environments, and separate customer or partner networks each raise the question of whether they can share one user model, one set of ACLs and one control server without weakening separation. If you need hard boundaries between those groups, confirm how your design would isolate them, because the single-tailnet model does not offer that split as a stated feature.

Community support means no contractual service level by default. The project is community-maintained, the repository carries sponsorship and donation links, and documentation is published separately for stable and development versions at headscale.net. An organization that needs a response commitment, security advisories handled on a timetable it can rely on, or help during an incident must plan for its own engineering staff or an implementation partner to carry that role. Ask any partner to state in writing which versions it supports and how upgrades and patch testing are handled.

Track upgrades as an operational task. Recent releases include v0.29.3 on July 29, 2026, v0.29.4 on September 23, 2026 and v0.29.5 on October 13, 2026, according to the Headscale releases page. Assign an owner for watching release notes, testing each version in a non-production tailnet and scheduling the control server upgrade, since the control server sits on the path for every node's key exchange and route advertisement. Before you adopt Headscale, confirm that your requirements, including scale, tenancy and support expectations, fall within what the single-tailnet design is meant to serve.

What each option costs to own, one-time and recurring

Twingate is a hosted service, so most of its cost is a recurring subscription paid to the vendor. The controller and relays are run by Twingate, which removes control plane hosting from your budget, but the Connectors that sit inside your networks are still machines you deploy, patch and monitor. Ask Twingate for a written quote that covers the plan, the number of seats, any add-ons you need and the terms that apply to your contract.

  • Subscription fees: paid to Twingate per plan and seat, recurring on the contract term. Seat count and the plan tier are the main drivers.
  • Connector hosting: Connectors run in each network you protect, so each site or cloud account adds a small recurring infrastructure cost plus the time to keep those hosts patched.
  • Identity provider licensing: your IdP may already be paid for, but confirm whether SSO or SCIM features you need sit on a tier that carries extra cost.
  • Migration and onboarding labor: one-time effort to define resources, groups and policies, and to move users onto the client.
  • Support and staff time: recurring vendor support tiers, plus internal time for policy reviews and access requests.

Before you sign, ask what changes if you add networks, users or a second region, and whether any of those drive a tier change.

What a move from Twingate to Headscale involves

The sequence moves access rules out of Twingate's hosted controller and into a Headscale server you run, with clients, routes and policies rebuilt and tested before any user loses access. Each step ends with a check that tells you whether the next one can start.

  1. Inventory Twingate resources, groups and policies

    Export remote networks, resources, groups, security policies and service accounts from Twingate using its GraphQL Admin API with a read-only token, or the Terraform provider if your team already manages Twingate that way. Confirm the current export method and its field coverage with Twingate before you rely on it, since the exact fields available depend on your plan and version. Your network or security engineer owns this step. It is done when you hold a complete list of every resource, the groups allowed to reach it and the policy that connects them, and someone other than the exporter has reviewed it.

  2. Translate resources into tags and ACLs

    Twingate grants access per resource, while Headscale controls access through a device mesh, so each resource needs a home in the design. Group resources by the device or subnet that serves them, assign tags to the nodes that host them, and write ACL rules that allow specific users or user groups to reach those tags. Headscale's OIDC support does not let OIDC groups be used in ACLs, so decide early whether group membership will be maintained as Headscale users or in a different way, and record that decision. The output is a written access matrix that maps each Twingate group and resource to Headscale users, tags and ACL entries, reviewed by the team that owns the data.

  3. Stand up the Headscale server with OIDC

    Deploy the Headscale control server in your own infrastructure, following the project's documentation for the version you choose. Headscale's README says the project does not support or encourage running it behind reverse proxies or in containers, so confirm how your platform team will host it and what that means for high availability and certificate handling. Configure OIDC login against your identity provider, which Headscale supports for basic login and user profile updates. The step is complete when a test user can sign in through the identity provider, a test node registers, and the server's backup and logging are in place.

  4. Plan client rollout with pre-authenticated keys

    Build a rollout plan for Tailscale clients on each platform your users run, and confirm which client builds your environment will use, since the Windows, macOS and iOS GUI clients are not open source. Use pre-authenticated keys for managed enrollment where that suits your device management, and use ephemeral nodes for short-lived or automated devices. Decide how MagicDNS and split DNS will replace the name resolution Twingate handled. The output is an approved enrollment runbook and a device list for the pilot, reviewed by the endpoint team.

  5. Replace Connectors with subnet routers

    For each network segment that Twingate reached through a Connector, deploy a Headscale subnet router inside that segment and advertise its routes through Headscale. Approve the routes on the server and confirm the ACLs from step two allow only the intended users to reach them. Connectors in Twingate are outbound-only, so review what inbound paths the subnet routers need and what firewall changes your network team must approve. The step is done when a test user reaches each migrated segment through a subnet router and an unauthorized user cannot.

  6. Run both systems in parallel for a test group

    Choose a small pilot group whose access you can verify and keep their Twingate access active while they also use the Headscale mesh. Compare what each system allows, log denied connections, and fix ACL gaps as they appear. Record every resource the pilot group needs and confirm nothing depends on a Twingate-only feature. The pilot ends when the agreed test cases pass, the pilot users report no blocked workflows, and the owners of each resource have signed off on their access.

  7. Cut over and decommission Twingate

    Move the remaining users in stages, keeping a rollback path to Twingate until each stage is verified. Once all users and resources are on Headscale, revoke Twingate access, remove Connectors, disable service accounts and retain the exported configuration and audit records according to your retention rules. Confirm with Twingate how account closure and data deletion work under your agreement. The step closes when Twingate no longer grants any access, the Headscale access matrix matches what was approved, and the change record is complete for your auditors.

Questions buyers ask before switching from Twingate to Headscale

How much effort does a switch from Twingate to Headscale take?

The effort depends on how many resources, groups and policies the team manages today, and on how many of those map cleanly to Headscale's model. Twingate gives you per-resource access through Connectors, while Headscale gives you a device mesh where access is defined by ACLs, tags and subnet routes. Each Twingate resource usually has to be re-expressed as a route, a tagged host or an ACL rule, and each user has to be re-enrolled with a Tailscale client. Effort rises with the number of resources, the number of distinct access rules, and the number of client platforms. Ask for an inventory of your current Twingate resources and groups before estimating anything, because that inventory sets most of the work.

Can our team do the Headscale switch without outside help?

A team can do it in-house if it already has people comfortable with Linux server administration, basic networking (routing, subnets, DNS, NAT traversal), OIDC configuration with your identity provider, and writing and testing ACL policy. Headscale is a self-hosted control server, so someone must own its upgrades, backups, TLS certificates, database and availability. Headscale's documentation also notes limits you must design around, such as OIDC groups not being usable in ACLs and only partial autogroup support. If those skills are thin, an implementation partner can plan, build and document the setup under a fixed written scope, and your team keeps ownership afterward.

How long does a Twingate to Headscale migration take?

No duration is fixed in advance, because the timeline is set by your environment rather than by the tool. The main drivers are the size of the resource inventory, the number of identity provider and ACL rules to rebuild, how many user devices must be enrolled, and whether you run a parallel period where Twingate and Headscale both carry traffic. Change windows for production network access and the time needed to test each access path also add to the schedule. Ask any provider for a written plan that lists phases, test groups and cutover criteria, and check it against your own change calendar.

What does the migration need from our team?

Plan for four inputs from your side. First, an export of your Twingate configuration, including remote networks, resources and groups, which you can take through Twingate's admin tooling. Second, administrator rights in your identity provider so Headscale can use OIDC login and the team can create the application and group setup. Third, a small test group of users and devices that can validate each access path before wider rollout. Fourth, agreed change windows for cutover and for any rollback. Name a single owner for ACL decisions, because policy design is where most access mistakes happen.

Does Headscale support the features we use in Twingate today?

Headscale covers a substantial feature set, including ACLs, grants, some autogroups, Tailscale SSH, MagicDNS and split DNS, subnet routers, exit nodes, tags, pre-authenticated and ephemeral keys, dual-stack IPv4 and IPv6, an embedded DERP server and peer relays. Its gaps matter more for Twingate users. Headscale is scoped to a single tailnet, so it does not offer Twingate's per-resource, multi-network model, and OIDC groups cannot be used in ACLs. Check each Twingate policy, especially group-based rules, against Headscale's documented features, and confirm current behavior against the release you plan to run.

Can Headscale run behind a reverse proxy or in containers?

The Headscale README says the project does not support or encourage running Headscale behind reverse proxies or in containers. That is a direct statement from the project, so treat it as a constraint in your design. If your standard platform is containerized or fronted by a reverse proxy, plan for that difference, either by running Headscale on a dedicated host as the project describes or by choosing a different self-hosted option. Confirm the current guidance in the README and documentation before you commit to an architecture, and record that decision in your change plan.

How do upgrades and support work for a community project?

Headscale is community-maintained. Releases are published on its GitHub releases page, and documentation is published separately for stable and development versions. Support comes from community channels and the project's maintainers, not from a vendor contract, so there is no guaranteed response time. Your team owns upgrades, testing against your ACLs and rollback plans. Ask any implementation partner what upgrade and retest process they run, and whether they offer ongoing support as a retainer. Plan for an upgrade cycle that includes testing each release before it reaches production.

How DeployOpen helps you decide, implement and migrate

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Twingate vs Headscale, we start with a written scope that tests whether a single-tailnet Headscale design fits your access model before any build begins.

How we scope

  • Inventory which private resources need access, which are web apps, SSH targets or subnets, and who needs each one.
  • Map your current Twingate resources, groups and security policies to what Headscale ACLs and subnet routers can express.
  • Record gaps such as OIDC groups in ACLs and limited autogroup support in a written scope before any work starts.

How we build

  • Deploy Headscale with Tailscale clients in your environment, with OIDC login wired to your identity provider.
  • Configure ACLs, subnet routers, MagicDNS, split DNS and pre-authenticated keys to match the agreed access model.
  • Test access paths, denied paths, client enrollment and failover, then document the results alongside the configuration.

How we hand over

  • Deliver architecture notes, access policy documentation, runbooks for enrollment, revocation and key rotation, and a list of open items.
  • Walk your operations and security teams through the design, including where Headscale's single-tailnet scope limits your model.
  • Provide evidence of configuration and testing that your compliance team can use in its own control reviews.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Ask any quote to itemize implementation, testing, documentation and retainer effort separately so you can compare options.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.