Logo: Routeros Zerotier

Routeros Zerotier

Organisatioun
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.

Iwwersiicht

Editeurtikoci
Repositoryrouteros-skills
Skill-Nummrouteros-zerotier
Stären
85
Forks
18
Matgeliwwert Dateien
4
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    tikoci huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Routeros Zerotier an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Routeros Zerotier an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Routeros Zerotier automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Routeros Zerotier net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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. ↩

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Routeros Zerotier op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Routeros Zerotier besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Routeros Zerotier an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Routeros Zerotier benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Routeros Zerotier benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Routeros Zerotier domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Routeros Zerotier gratis?

Jo. tikoci huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇