Routeros Zerotier logo

Routeros Zerotier

Organization
tikoci
routeros-zerotier

Configure and troubleshoot native ZeroTier on MikroTik RouterOS: ARM/ARM64 extra package, device-mode, instances/interfaces/peers, private-network authorization in ZeroTier Central or /zerotier/controller, managed addresses and routes, firewall integration, flow rules, RoMON, and bridging. Use when joining a ZeroTier network, hosting a RouterOS controller, debugging ACCESS_DENIED or NOT_FOUND, or working with /zerotier, ZeroTier Central, or RoMON over ZeroTier. Use routeros-centrs for device operations and routeros-quickchr for a disposable ARM64 CHR lab.

Overview

Publishertikoci
Repositoryrouteros-skills
Skill namerouteros-zerotier
Stars
85
Forks
18
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by tikoci on GitHub. Read the source before you install it.

Installation

Install the Routeros Zerotier AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tikoci/routeros-skills.git /tmp/routeros-skills
mkdir -p .claude/skills
cp -r /tmp/routeros-skills/routeros-zerotier .claude/skills/routeros-zerotier
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Routeros Zerotier in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Routeros Zerotier on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Routeros Zerotier is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

RouterOS ZeroTier

RouterOS uses /zerotier instances and interfaces rather than the Linux zerotier-cli. This skill covers the native package and its controller role. The original lab used arm64 CHR 7.25; its reported results and the limits of that evidence are recorded in Grounding.1

Package and device-mode

  • Install the zerotier extra package matching the router's version and architecture, then reboot. See Extra packages.2
  • The native package supports ARM/ARM64. For a CHR lab, use arm64: the official 7.25 arm64 archive contains zerotier-7.25-arm64.npk; the x86 archive has no ZeroTier package. This distinction was independently rechecked during review.3
  • Check /system/device-mode/print for zerotier: yes before configuring it. If blocked, follow the device-mode procedure, including any required physical confirmation.2

Instance, interface, and peer

Enable the default instance before joining a network:2

routeros
/zerotier/enable [find where name="zt1"]
/zerotier/print
  • /zerotier is the local node instance. Its 10-digit hexadecimal ZeroTier address is the prefix of its public identity; use that address to identify the member in Central. It is not the interface MAC address. Treat the full identity as sensitive; do not publish private identity material.4
  • /zerotier/interface has one interface per network membership. Each network acts as a virtual Ethernet segment; the interface can be routed or bridged.2
  • /zerotier/peer shows known peers, roles such as LEAF/PLANET, and tunnel paths. Check recvd/sent ages as well as active; a listed path alone does not establish current end-to-end reachability.5
  • /zerotier/controller hosts a network on RouterOS. It manages membership and configuration; it does not replace the root-server infrastructure.2

Join and authorize

Replace the synthetic network ID below with your controller's 16-digit ID. Private networks require authorization at their controller; public networks allow joining without that approval.2

routeros
/zerotier/interface/add network=0123456789abcdef instance=zt1 name=zt-example
/zerotier/interface/print

For a private network, identify the joining instance's ZeroTier address, then:

  • Central-hosted: authorize the member in the owning Central console or matching API. See Central accounts and API.
  • RouterOS-hosted: authorize it on the controller router under /zerotier/controller/member. See RouterOS controller.

Re-read the interface until it reports OK. Check /ip/address and /ip/route when managed addressing/routing is configured and permitted by the client; authorized membership alone does not guarantee an assigned IP.21

The 7.25 lab reported these statuses; they are diagnostic leads, not a complete status enumeration:1

StatusInterpretation
OKNetwork configuration accepted; separately verify addressing and traffic
ACCESS_DENIEDController denied membership; check private-network authorization
NOT_FOUNDNetwork not found; verify the ID and controller before inferring a cause
REQUESTING_CONFIGURATIONAwaiting configuration; seen during rejoin

A malformed network ID was rejected at add time with network id not valid.1

Managed addresses and routes

These gates belong to /zerotier/interface, not controller member rows:4

SettingEffect
allow-managed=yesAccept controller-managed addresses and routes
allow-global=yesAlso permit managed addresses/routes in public IP space
allow-default=yesPermit a controller-managed default route

Choose the gates deliberately; allowing managed routes does not itself grant permission to replace the default route. Do not translate desktop DNS settings into an invented RouterOS flag: the documented interface properties expose no allow-dns equivalent.4

With managed configuration enabled, RouterOS can install addresses and routes automatically. Inspect the resulting route table before adding statics. Site-to-site access also needs forwarding permission and a return path; other LAN routers may need routes through the ZeroTier router.2

In the 7.25 lab, allow-managed=no removed managed configuration while the interface stayed OK. Restoring yes did not restore it within two minutes; a disable/enable cycle did. This is a versioned observation, not a guaranteed recovery time or a reason to bounce a production interface immediately.1

Firewall and service integration

Check transport traffic and overlay traffic separately. UDP 9993 is the default instance port, but ZeroTier also uses high ports and peers may listen on any UDP port. Permit outbound UDP and the corresponding return traffic through stateful firewall/NAT rules; a 9993-only peer policy can prevent direct paths.2

For traffic arriving on zt-example, review the existing input/forward rules. Prefer explicit access for the required services and destination subnets. If every member is trusted as LAN, and the existing rules use the LAN interface list for that policy, membership can integrate the interface:6

routeros
/interface/list/member/add list=LAN interface=zt-example

This grants the access defined by that list; it is not suitable for an untrusted or shared overlay. The manual's blanket input/forward accept examples are permissive alternatives, not prerequisites for every installation.2

Also review these independent controls:7

  • /ip/service allowed addresses for IP management services.
  • /ip/neighbor/discovery-settings and its discovery interface list.
  • /tool/mac-server and /tool/mac-server/mac-winbox allowed interface lists. Do not assume factory defaults; Layer 2 management is not protected by the IP input firewall.

Flow rules, RoMON, and bridging

ZeroTier flow rules add distributed, stateless filtering. A ruleset that admits only IPv4, IPv6, and ARP blocks RoMON (0x88bf) and VLAN-tagged frames (0x8100). That is a common ruleset on Legacy Central. New Central documents flow rules as disabled initially, with all traffic allowed; enabling its Layer 2 Protocol Filter restricts Ethernet types. Inspect the actual network policy before assuming which Ethernet types pass.8

RoMON can extend management through ZeroTier and onward through explicitly permitted RoMON ports. Restrict its default all port policy before enabling it; adding a ZeroTier port alone does not restrict the wildcard. RoMON is a Layer 2 protocol, so IP firewall accept rules do not enable or contain it.9

See Flow rules, RoMON, and bridging for separate rule-language and RouterOS examples, member settings, and address pool planning.

Common mistakes

MistakeCorrect approach
Run zerotier-cli join on RouterOSEnable an instance, then add /zerotier/interface
Treat every join as requiring CentralPrivate networks authorize at their owning controller; RouterOS can host it
Match a Central member by interface MACMatch the instance's 10-digit ZeroTier address
Add static routes before checking managed routesInspect /ip/route and the client gates first
Assume all CHR architectures have the packageUse arm64 for the verified 7.25 lab path3
Treat managed IP assignment as DHCPZeroTier controller assignment is separate; a bridge can still carry DHCP
Enable RoMON, then add one allowed portSet the wildcard policy and review explicit ports before enabling RoMON

Additional resources

Footnotes

  1. Grounding distinguishes the original issue's lab reports from this review's independent checks. ↩ ↩2 ↩3 ↩4 ↩5

  2. MikroTik ZeroTier manual. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10

  3. Official 7.25 arm64 archive and x86 archive; see Grounding. ↩ ↩2

  4. MikroTik CLI references: instance, interface, member. ↩ ↩2 ↩3

  5. MikroTik peer reference; path-age caveat from Amm0's community guide, not an independent live-path test here. ↩

  6. RouterOS firewall skill. ↩

  7. MikroTik IP services, Neighbor discovery, and MAC server. ↩

  8. ZeroTier Rules Engine. ↩

  9. MikroTik RoMON. ↩

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Routeros Zerotier AI skill do?

Configure and troubleshoot native ZeroTier on MikroTik RouterOS: ARM/ARM64 extra package, device-mode, instances/interfaces/peers, private-network authorization in ZeroTier Central or /zerotier/controller, managed addresses and routes, firewall integration, flow rules, RoMON, and bridging. Use when joining a ZeroTier network, hosting a RouterOS controller, debugging ACCESS_DENIED or NOT_FOUND, or working with /zerotier, ZeroTier Central, or RoMON over ZeroTier. Use routeros-centrs for device operations and routeros-quickchr for a disposable ARM64 CHR lab.

Why use Routeros Zerotier on TypingMind?

Because you install it once and use it with any model. Routeros Zerotier is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Routeros Zerotier in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Routeros Zerotier?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Routeros Zerotier?

As many as you like. As long as a model supports skills, you can use Routeros Zerotier with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Routeros Zerotier AI skill free?

Yes. It is published on GitHub by tikoci under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇