Logo de Routeros Zerotier

Routeros Zerotier

Organização
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.

Visão geral

Publicado portikoci
Repositóriorouteros-skills
Nome da habilidaderouteros-zerotier
Estrelas
85
Forks
18
Arquivos incluídos
4
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 4

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por tikoci no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Routeros Zerotier no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Routeros Zerotier em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Routeros Zerotier automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Routeros Zerotier não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Routeros Zerotier faz?

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.

Por que usar Routeros Zerotier no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Routeros Zerotier é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Routeros Zerotier no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/tikoci/routeros-skills/tree/main/routeros-zerotier. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Routeros Zerotier?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Routeros Zerotier?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Routeros Zerotier com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Routeros Zerotier é gratuita?

Sim. A habilidade é publicada no GitHub por tikoci sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇