How to export your networks from ZeroTier before you leave
A team leaving ZeroTier Central after a renewal, a pricing change or a data residency rule can read its networks, members, routes and rules through the Central API with an API token. The new control plane has to be rebuilt by hand, so the export is the input for that work. Before you start, check which token type your plan allows in the Central account settings and in ZeroTier's current API documentation, because the token scope decides whether you can read every network you own. The export is a record of configuration. It does not produce a working copy of the target network, and no device moves across automatically.
Run the export for each network and store the output in a location with restricted access, since it lists member identities and addresses. Keep the members list, managed routes, and the rule definitions as separate records so each one can be checked against the target. Then mark which items map cleanly to the new platform and which need a manual decision, such as rules that depend on ZeroTier-specific behavior. Ask the vendor or check the documentation for any network setting that the API does not return, and write those down as manual rebuild items. A test export on one low-risk network will show the shape of the data before you run the full set.
Devices must still re-enroll on the new control plane, so the export does not remove that step from the cutover plan. Record the export date and the member count for each network, then compare them with the devices you enroll later. Keep the ZeroTier network running until the replacement network is verified with real traffic, and confirm which owner signs off on the switch. Treat the exported files as the baseline for the migration and the audit trail for the change, and delete the API token once the export is complete and verified.
What you can export from ZeroTier Central and how
This table lists each ZeroTier Central object you should capture before migrating, the API method that reads it, and the token and output details to confirm. Read it as a checklist: every row needs an export file saved before you cut over, and the last column tells you what your token must allow. Confirm all method names, pagination and rate limits in ZeroTier's current API reference before you script anything.
| Object | Central API read method (confirm in current reference) | Output and token requirement |
|---|---|---|
| Networks | Network list and network detail calls under the controller API | JSON saved to files; token must allow read access to the network |
| Members, authorization state and assigned addresses | Member list call per network, which returns each member's authorized flag and IP assignments | JSON per network; confirm your token type covers member reads, since authorization state is what you cannot rebuild from memory |
| Managed routes | Route fields in the network detail response | JSON; record every managed route and its via address before you recreate them as subnet routers |
| Network rules and capabilities | Rules and capabilities fields in the network detail response, plus any capability objects linked to members | JSON; rule syntax does not map one to one to Headscale ACLs, so keep the raw file for translation |
| Tags and IP pools | Tag definitions and IP assignment pool settings in the network detail response | JSON; these drive grouping and address planning on the new control plane |
| Pagination and rate limits | Check the current ZeroTier API reference for paging parameters and any published request limits | Confirm the exact limits with ZeroTier before a bulk export; plan retries rather than assuming a fixed quota |
What does not carry over from ZeroTier
The ZeroTier Central API export gives you the network and member records, but it does not move device enrollment, endpoint state, custom rule logic or console-only settings. Each item below needs a deliberate step on the new control plane, and the list should be checked against ZeroTier's current documentation before the subscription changes.
Device enrollment and keys
Each ZeroTier node has its own identity key pair, and a member entry in Central only authorizes that node on a network. Headscale and NetBird issue their own node keys during registration, so the exported member list does not enroll anything. Plan a re-enrollment window per device, using the target's client with a pre-auth key on Headscale or a setup key or SSO login on NetBird. Confirm the enrollment method your target supports before scheduling.
Headscale READMEEndpoint network state
Client-side state such as the joined network list, assigned managed IP addresses, local routes and the ZeroTier service configuration lives on each endpoint, not in the API. When you remove ZeroTier, its virtual interface and routes disappear, and any service that bound to a ZeroTier address will fail until it is pointed at the new overlay address. Inventory which servers and scripts reference ZeroTier-assigned addresses before cutover, and record the new addresses that each device receives.
Flow rules and capability logic
ZeroTier flow rules are written in its own rule language, with matches on ethertype, IP protocol, ports and tags, and actions that accept, drop or tee traffic. Headscale uses ACLs or grants in its own policy format, and NetBird uses groups and policies. Constructs such as tags with capability-based filtering have no one-to-one equivalent, so each rule must be re-expressed and tested. Treat the exported rule text as a specification, not as importable configuration.
Managed routes and bridging
Managed routes and bridge settings on a ZeroTier network define which subnets are reachable through a member, and whether a member bridges traffic for others. Headscale expresses this through advertised subnet routers that an administrator must approve, and NetBird through routes assigned to groups. Bridging behavior has no direct match on either platform, so confirm whether your flows depend on it and design an explicit replacement.
Console-only settings
Some settings appear only in ZeroTier Central, such as access and admin member roles, notification settings, billing details, and any SSO or organization configuration that was set up in the web console rather than through the API. Export what the API returns, then record the remaining values from the console screens with screenshots and a written checklist before the subscription ends. Confirm which settings the current API covers in ZeroTier's documentation.
Audit history and user accountability
Member names, descriptions and last-seen timestamps are exported, but the historical record of who authorized or deauthorized a device, and when, usually stays in the source console. If your change records or access reviews depend on that history, export whatever the API provides and retain a written snapshot with the cutover ticket. Confirm with your compliance owner which evidence must be kept and for how long.
Export sequence: from API token to a complete, checked export
This sequence produces a read-only, dated record of every ZeroTier network, member and managed rule that the migration depends on. Each step ends with a check, so the team knows what it holds before any device or policy moves. Confirm token types and endpoints against ZeroTier's current documentation before you start.
Create a scoped API token
A network administrator creates an API token in ZeroTier Central, choosing the token type and permissions that the current plan allows. Confirm the options in the Central account settings and in ZeroTier's API documentation, because token types and access levels can differ by plan. Store the token in the migration team's password manager, not in scripts or tickets, and record who created it and when. The step is done when the token authenticates a single read request successfully.
Confirm network visibility
Using the token, list every network the account can see and compare that list with the networks shown in the Central console. If the token returns fewer networks than the console shows, the permissions are too narrow, so fix the token before continuing. Note each network's ID, name and the account that owns it. The output is a written inventory of network IDs that becomes the scope of the export. Networks you do not own or cannot see must be raised with their administrators now, not at cutover.
Pull each network configuration
For each network in the inventory, request its configuration object through the API. This object normally includes the managed routes, IP assignment pools, DNS settings and the network's rule definitions, so capture all of them rather than only the fields you expect to need. Save the response under a file name that carries the network ID and the export date, such as
network-<id>-2026-10-20.json(illustrative). The step is done when every network in the inventory has one configuration file.Pull member lists for each network
For each network, request the member list, which records each device's member ID, display name, authorization state and assigned addresses. Request the list again if the first response is paged or incomplete, and check that no member is missing because of a page limit. Save each list as its own file alongside the configuration file for the same network. The step is done when every network has a member file, and the team has noted which members are unauthorized or inactive so they can be decided on later.
Save raw responses unchanged
Store every API response exactly as the server returned it, without reformatting, sorting, renaming fields or deleting empty values. Put the raw files in a separate folder from any working copy that the team edits to plan the migration. Generate a SHA-256 checksum for each raw file and keep the checksum list with the files. The output is a raw archive that anyone can check against the original responses later, which matters if a field is questioned during cutover or an audit.
Record managed routes and rules
Using the raw configuration files, build a translation worksheet that lists every managed route, every rule and every capability it depends on, such as which devices act as gateways for a subnet. Mark each item as a route to recreate, a rule to translate or a behavior with no direct equivalent on the target control plane. Confirm the translation approach in the migration pages for your target, such as Headscale or NetBird, before you decide how each item moves. The step is done when every rule in the raw files has a row in the worksheet.
Take a dated snapshot before any change
Before anyone edits a network, moves a member or changes a rule in Central, bundle the raw files, checksums and worksheet into one dated snapshot. Label the snapshot with the export date, the network IDs and the name of the person who ran the export. Confirm that no changes were made in Central during the export window by comparing the configuration data again at the end of the run. The step is done when the snapshot can be listed and its checksums verify, and the team agrees that it is the baseline for rollback.
Verify counts and store the export securely
Compare the member count and network ID list in the export with the figures shown in the Central console, network by network, and record any difference with its cause. Once the counts match, move the snapshot to an encrypted location, such as an encrypted volume or secrets vault that your security team approves, and restrict access to named members of the migration team. Record who has access and review that list before the export is needed again. The step is done when the counts match, the encryption and access settings are confirmed, and the team signs off the snapshot as the baseline.
How exported ZeroTier data becomes target configuration
The flow starts with a read-only pull from ZeroTier Central through its API, authenticated with an API token that is stored in the client's environment and revoked once the export is complete. The exported JSON lands in a store inside the client network, which marks the trust boundary with the hosted vendor. A mapping step then turns networks, members, routes and rules into Headscale ACLs and subnet routers or NetBird groups, policies and routes. Before cutover, compare object counts between the export and the new control plane, then re-enroll each device by hand.
Data moves from the hosted controller into the client network, then into the target control plane.
Mapping the export to Headscale or NetBird
Headscale is a self-hosted implementation of the Tailscale control server, so it takes the Tailscale client model. The control server exchanges WireGuard public keys, assigns client IP addresses, sets boundaries between users and exposes advertised routes. ZeroTier network rules and managed routes therefore have to be rewritten as Headscale policy, not copied field by field. Plan the mapping before you rebuild anything, because the scope of one Headscale instance is a single tailnet.
- ACLs and grants: Translate ZeroTier rules into Headscale ACLs and grants. Test every allow path, since Headscale ACLs are the only place access decisions are made.
- Subnet routers: Managed routes in ZeroTier usually become subnet routers advertised by a Tailscale client on the network segment that holds the route.
- Tags: Map device groupings from ZeroTier member tags or names to Headscale tags, which ACLs can reference.
- Pre-authenticated keys: Use these to enroll devices in bulk during cutover instead of re-registering each one by hand.
- Single-tailnet scope: If you run several ZeroTier networks with separate trust zones, you need separate Headscale instances or a different target, because one instance serves one tailnet. Note that the Headscale README does not support running it behind reverse proxies or in containers, so plan the host accordingly. OIDC groups also cannot be used in ACLs, so group-based access must be expressed another way.
Confirm the current feature behavior against the Headscale documentation for your release before you finalize the policy file.
NetBird combines a peer-to-peer WireGuard overlay with a centralized access control system. Its model is closer to ZeroTier's network membership than Headscale's, but access is defined through groups and policies, and routes are configured separately. The export therefore feeds three objects in NetBird: groups that represent your members, policies that replace ZeroTier rules, and routes that replace managed routes. Enrollment is the other decision, either setup keys for unattended devices or SSO for people.
- Groups: Build NetBird groups from the member lists and naming in the export, so each policy has a clear source and destination.
- Policies: Rebuild ZeroTier rules as NetBird policies between groups, and review each one because the export does not carry the intent behind it.
- Routes: Recreate managed routes as NetBird routes that point at a routing peer on the target network.
- Setup keys or SSO enrollment: Use setup keys for servers and automation, and SSO with MFA for user devices. SSO and MFA are listed on the Team plan of the cloud pricing page, so confirm which features your chosen deployment includes.
- Self-hosting needs: A Linux VM with at least 1 CPU and 2 GB of memory, a public domain, TCP ports 80 and 443 and UDP port 3478 open, and Docker with the Compose plugin. Backups, upgrades and scaling are your responsibility.
Run a sample of each policy against test devices before cutover, and keep the ZeroTier network active until the NetBird policies prove the same access.
How to verify the export is complete before cutover
Before you touch the target control plane, confirm that the export file matches what ZeroTier Central shows today. Compare four counts and states side by side: the number of networks, the number of members on each network, the authorization state of each member (authorized, unauthorized or pending), and the route entries and rule sets on each network. Pull the same views from the Central console that your export script read from, and record the totals in a short reconciliation sheet. Any mismatch, including a member that was authorized in the console but missing from the file, should block the cutover until someone explains it. Confirm too that the token you used had read access to every network you intend to move, because a token scoped too narrowly will produce a file that looks complete but is not.
A matching count proves the export is complete, but not that the policies work. Build a lab network on the target, recreate one mapped policy at a time, and test both directions: traffic the rules should allow (for example, a developer laptop reaching a staging host on a specific port) and traffic they should block (the same laptop reaching a production subnet). Run the tests from devices that carry the same tags or group memberships they will have in production, because group and tag mistakes are the most common source of silent over-permission. Keep the test results, timestamps and the export file together as evidence for your migration record, since a reviewer or auditor will ask how you knew the rules were carried across. Treat this evidence as a checkpoint, not a sign-off.
Keep ZeroTier running until every target policy test passes and the reconciliation sheet is closed. Do not revoke ZeroTier memberships or delete networks during verification, because the source of truth is still needed if a test reveals a gap. Agree with the business owners of each network which tests must pass before cutover, and who signs off. If a test fails, fix the target configuration and rerun the full set, not only the failed case. Only after the sign-off should you start moving devices, and you should record the date and the person who approved the switch in the same file.
What to plan before the ZeroTier contract ends
The export itself is the easy part. The decisions that matter come earlier: which token your plan allows, when you run the export, how long both networks stay live, and what your data looks like after cancellation. Each card below names the question to put to ZeroTier in writing and the work your own team has to own.
Confirm the API token type
Before you schedule anything, ask ZeroTier in writing which API token types your plan allows for the Central API. The export depends on a token with read access to networks, members, routes and rules, so a token that is too narrow will block the export at the worst moment. Your team owns creating the token, storing it in a secrets manager, and revoking it after the export. Test the token against one non-production network first.
Headscale docsSchedule the export early
Plan the export well ahead of the contract end date so you can repeat it if the first output is incomplete. Your team should run the export, save the JSON output with a dated name, and compare member counts against the ZeroTier Central console. Ask ZeroTier whether there are rate limits or export restrictions on the API and whether any notice period applies to your plan. Record the answers.
Keep both networks running
Do not retire the ZeroTier network until devices have been enrolled on the new control plane and tested. Your team should agree a cutover window with the people who use the affected routes, and decide which devices move first. Ask ZeroTier whether a network can stay active during a partial migration and whether any billing applies to members that remain attached. Running both networks in parallel is the safest path for production routes.
Check what happens to devices and routes
When a ZeroTier network is retired, member devices lose their virtual addresses and managed routes stop working. Ask ZeroTier in writing what happens to members and rules after you delete or stop paying for a network. Your team owns an inventory of every device, subnet and route that depends on the network, and a plan to reconfigure each one. Missing routes often surface only when a scheduled job or remote service fails.
Confirm data retention after cancellation
Ask ZeroTier in writing how long network configuration and member data remain available after cancellation, and whether you can still access the Central API during that period. Do not assume the export is the only copy you will get. Your team should keep the exported files in your own backup system, with access controls, for as long as your records policy requires. Confirm the retention answer again before the final export.
Questions teams ask before exporting from ZeroTier
Can our team export ZeroTier networks without outside help?
Often yes. An engineer who can call a REST API and read JSON can usually run the export, because it consists of read requests against the ZeroTier Central API. The main risk is misreading the output, not changing live networks. Confirm the current endpoints and authentication method in ZeroTier's API documentation before starting. Outside help becomes worth considering when networks have many members, custom rules or managed routes that must be translated into a different policy model, or when no one on the team can check the output against the live network. DeployOpen plans and implements self-hosted platforms inside your own infrastructure, so the export can be part of a fixed-scope engagement if you want one.
What makes a ZeroTier export take longer?
Effort scales with the number of networks, members, custom rules and managed routes, and each one adds a step to collect, check and record. Four components drive the work:
- Networks: each network has its own settings, IP assignment and rule set to record.
- Members: each authorized device needs its name, owner and assigned address matched to a person or asset.
- Rules: custom rule sets need careful reading, because they do not map one to one onto ACLs or NetBird policies.
- Managed routes: each route and bridge setting needs a matching subnet router or route on the new control plane.
A small network with few members and default rules is a short job. Ask for an inventory of these four counts before agreeing on scope, since the counts set the size of the work.
How long does an export and verification usually take?
No duration is established for this work, so treat any figure you are given as a claim to check. The time depends on the four counts described above and on how much verification you require. A scripted export may be the shorter part. Verification takes longer: comparing exported data with the live network, testing that each route and rule behaves as recorded, and getting owners to sign off. Ask for a written timeline that splits export, verification and sign-off, and state which counts it assumes. A pilot on one representative network shows your actual pace before you commit to the full schedule.
What do network and identity owners need to provide?
Network owners confirm which networks are live, which are retired, and which routes and bridges carry production traffic. Identity owners confirm who each device belongs to, which users should keep access, and which identity provider will sign people in on the new control plane. Both groups should review the exported inventory before anything changes:
- Network owners: approve the list of networks, routes and expected subnets.
- Identity owners: map members to people, groups and devices, and confirm the identity provider.
- Security owners: review the token scope and approve the exported rule list.
Without these sign-offs, the export shows what exists, while the owners decide what should be kept.
Which ZeroTier API token type should we request, and from whom?
Request the token from the administrator of your ZeroTier Central organization. Before asking, confirm in ZeroTier Central and its API documentation which token types your plan allows, since plan rules can change. Ask for the narrowest access that reads networks, members and routes. The export does not need write access, so avoid any token that can change networks. Record who created the token, when it was issued and when it expires, then revoke it once the export and verification are complete. Store the token in your secrets manager, not in scripts, tickets or shared documents.
What should we do if the API cannot return a setting?
Record the gap as an open item, then capture the value from the ZeroTier Central interface using a dated screenshot or written note, and have a second person check it. Do not guess a value or copy a default into the new system. Log each gap with the network, the setting, the reason it was missing and the owner who confirmed the replacement. If the setting affects access, keep the old network running until the gap is closed. Contact ZeroTier support for settings the API does not expose, and get the answer in writing. Gaps are common in migrations, so the goal is to track each one until it is closed.
Does the export replace a migration plan?
No. The export gives you an inventory and a dated record of the current state. It feeds the migration plan but does not replace it. The plan also covers how rules become ACLs in Headscale or groups and policies in NetBird, how routes move to subnet routers, how devices re-enroll, the cutover order, and how both networks run in parallel during the transition. Headscale's feature list covers ACLs, subnet routers, MagicDNS and pre-authenticated keys, which helps when mapping settings, but each item still needs checking against your own rules. Plan the rollback steps before you change any device.
Can DeployOpen run the export and document the results?
Yes. DeployOpen can take on the export as part of a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so the export can be linked to the target design, the new control plane and the documentation your owners need. The scope would be set from your inventory: the number of networks, members, rules and routes, the target platform, and the sign-offs required. DeployOpen does not publish a price list, so a quote follows from the written scope. Ask the quote to list the deliverables, the verification method and the handover documents.
How DeployOpen scopes and delivers a ZeroTier exit
DeployOpen treats the export from ZeroTier Central as a scoped piece of work with written deliverables, not an open-ended migration. We start by inventorying what the API token can actually read on your plan, then plan how each network, member, route and rule maps onto the new control plane. The work runs inside your own infrastructure.
How we scope
- Inventory every ZeroTier network, member, managed route and rule the export must capture before any work begins.
- Confirm with your team which token type your ZeroTier plan allows and who holds it during the engagement.
- Agree in writing which items are exported by script and which must be re-created by hand on the new control plane.
How we build
- Write and run export scripts against the ZeroTier Central API, saving network, member and route data to files you control.
- Map exported rules and managed routes to the target platform's access policies and subnet routers, then review the mapping with your security team.
- Test enrollment on a pilot group of devices and check that access rules behave as the original ZeroTier rules did.
How we hand over
- Deliver the exported data, the mapping document and a list of manual steps, with each item marked as done or pending.
- Document how the new control plane is configured, including access policies, identity settings and audit logging.
- Walk your operations and security staff through the cutover plan so they can run and review it after handover.
How we support
- Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing of the new platform are available as a retainer.
- Ask for the written scope to state which devices, networks and rules are covered and which remain with your team.

