Yggdrasil is an experimental end-to-end encrypted IPv6 network implementation. A lightweight userspace router lets IPv6-capable applications reach other nodes securely, including over IPv4-only links.
Overview
Yggdrasil implements a compact, decentralized routing scheme intended as an alternative to structured Internet routing and as a base for large mesh networks. The Go implementation is a userspace software router that sets up an encrypted IPv6 overlay so participating hosts can route traffic to one another without requiring native IPv6 Internet connectivity everywhere.
Nodes arrange themselves on the network and heal around failures or mobility. Traffic on the overlay is always end-to-end encrypted. Peerings are configured ad hoc, often via TCP/TLS over LANs, point-to-point links, or the public Internet, and peers may connect over either IPv4 or IPv6 underlay networks while still exchanging IPv6 on the overlay.
Operators generate static HJSON or JSON configuration, edit peers and listen settings, or run in auto-configuration mode with defaults and fresh keys each start. Running typically needs privileges to create TUN/TAP adapters, or elevated capabilities on Linux. Pre-built packages and build-from-source options exist for many platforms.
The software is alpha-stage but used for day-to-day experiments by some community members. Documentation covers installation, configuration, and FAQs, and IRC communities offer support and discussion.
Key features
- End-to-end encrypted IPv6 routing
- Self-arranging mesh topology
- Works without public IPv6 connectivity
- TCP/TLS peer connections
- Static or auto-configuration modes
- TUN/TAP-based userspace router
- Cross-platform node software
- Ad hoc peer-to-peer design
Use cases
- Private encrypted IPv6 mesh between sites
- Connecting apps over overlay IPv6
- Experimental decentralized routing
- Bridging nodes across IPv4-only networks
- Joining community Yggdrasil services