Scripts2026年5月25日·1 分钟阅读

Yggdrasil Network — Encrypted IPv6 Mesh Overlay Network

An end-to-end encrypted mesh networking protocol that provides every node with a globally routable IPv6 address without central coordination.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Yggdrasil Overview
通用 CLI 安装命令
npx tokrepo install 839c5b3d-57d1-11f1-9bc6-00163e2b0d79

Introduction

Yggdrasil is an experimental encrypted mesh networking protocol that assigns every node a cryptographic IPv6 address derived from its public key. Nodes automatically discover peers and route traffic through a spanning tree, requiring no manual routing configuration or central authority.

What Yggdrasil Does

  • Assigns each node a stable IPv6 address (200::/7 range) derived from its public key
  • Encrypts all traffic end-to-end between nodes using Curve25519 key exchange
  • Builds a self-healing spanning tree topology that adapts as nodes join or leave
  • Supports peering over TCP, TLS, Unix sockets, and multicast LAN discovery
  • Works as a TUN adapter providing standard IPv6 connectivity to applications

Architecture Overview

Yggdrasil creates a virtual network interface (TUN) that intercepts IPv6 traffic in the 200::/7 range. Each node generates a Curve25519 keypair; the IPv6 address is a truncated hash of the public key. Nodes peer with each other over existing network links (LAN, internet, VPN tunnels) and collectively build a globally shared spanning tree. Routing decisions are made using distance on the tree plus a DHT for locating destination coordinates, enabling efficient path selection without global routing tables.

Self-Hosting & Configuration

  • Available as packages for Debian, Ubuntu, Fedora, macOS, and Windows
  • Configuration file at /etc/yggdrasil/yggdrasil.conf (HJSON format)
  • Add public peers by listing their URI in the Peers section
  • Enable multicast for automatic LAN peer discovery
  • Runs as a system service with minimal resource usage

Key Features

  • Zero-configuration mesh routing with automatic peer discovery
  • Cryptographic addressing eliminates the need for IP allocation authorities
  • End-to-end encryption for all traffic with no unencrypted hops
  • Works alongside existing network infrastructure as an overlay
  • Supports both public internet peering and private isolated networks

Comparison with Similar Tools

  • Tailscale / Headscale — centralized coordination server for WireGuard; Yggdrasil is fully decentralized
  • ZeroTier — overlay network with centralized controllers; Yggdrasil needs no controller
  • WireGuard — point-to-point VPN tunnel; Yggdrasil provides mesh routing automatically
  • CJDNS — similar encrypted mesh approach but less actively maintained
  • Nebula (Slack) — certificate-based mesh VPN; requires a lighthouse node for coordination

FAQ

Q: Is Yggdrasil production-ready? A: It is considered experimental but stable enough for personal and community use. The protocol may still evolve.

Q: Can I use it to access the regular internet? A: Not directly. Yggdrasil is an overlay network. You need a gateway node configured for NAT64 or proxying to reach the public internet.

Q: How do I find public peers? A: The Yggdrasil project maintains a list of public peers. Add their URIs to your configuration to join the global network.

Q: Does it work behind NAT? A: Yes. Nodes behind NAT can connect to public peers via outbound TCP or TLS connections.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产