mycelium
End-2-end encrypted P2P IPv6 overlay network
System
<div style="background-color: #77DD77; color: white; padding: 10px; border-radius: 20px; text-align: center;">
Network
</div>
Mycelium is an end-to-end encrypted IPv6 overlay network that spans the globe.
- Locality-aware routing: finds the shortest path between nodes.
- All traffic is end-to-end encrypted.
- Can route traffic via friend nodes and is location-aware.
- Automatic rerouting if a physical link goes down.
- IPv6 addresses are derived from private keys.
- A simple, reliable message bus is implemented on top of Mycelium.
- Supports multiple transports (QUIC, TCP, …). Hole punching for QUIC is in progress to enable true P2P connectivity behind NATs.
- Designed for planetary-scale scalability; previous overlay networks reached practical limits, and Mycelium focuses on scaling.
- Can run without a TUN device and be used solely as a reliable message bus.
Example configuration below connects all your machines to the Mycelium network:
mycelium = {
roles.peer.tags.all = {};
};
The mycelium service has the following roles:
Options for the peer role🔗
addHostedPublicNodes🔗
Add hosted Public nodes
Type: boolean
Default:
true
Declared in: clanServices/mycelium/default.nix
openFirewall🔗
Open the firewall for mycelium
Type: boolean
Default:
true
Declared in: clanServices/mycelium/default.nix