nylon
Performant, secure, and reliable mesh networking made easy.
Nylon is a self-healing WireGuard mesh that routes around failures. If a link goes down, nylon reroutes traffic through the next-best path in seconds. No manual intervention, no central coordination servers.
See how nylon compares to Tailscale, Nebula, and DIY setups →
Here’s another example
Section titled “Here’s another example”Here is a network of 5 nodes, where the numbers on the edges represent the routing metric (nylon uses latency).
graph LR
vps --- |2| charlie
vps --- |2| alice
eve --- |1| bob
vps --- |5| eve
alice --- |1| bobrouters: - id: vps pubkey: dJcUE1qnXCQ5x8pMhFb/MZab7YrBaaHcrgfbmQI0MW4= addresses: [10.0.0.1] endpoints: - "vps.encodeous.ca" - id: alice pubkey: xmfAovAKN4AY5ocK5s+/VsG9I27KrQ13Vzb0HOsLKAs= addresses: [10.0.0.2] - id: bob pubkey: 4GfHHSyVpXc+wkbjyIIONERa6Xf5EafB0nVGZLf2r2o= addresses: [10.0.0.3] endpoints: - "192.168.1.19:57175" - id: charlie pubkey: WcCkKijU0brYnRzxk867HTDyYFf/cqiKTTOLSxtWoFc= addresses: [10.0.0.4] - id: eve pubkey: 2mXTTD+FYdtJm/v1vSHz8qimvCucjW9vY+nLYacXJFE= addresses: [10.0.0.5]
graph: - trio = alice, charlie, eve - vps, trio - bob, eve - bob, aliceFrom alice, nylon selects the path of least metric to each destination (highlighted):
graph LR
vps --- |2| charlie
vps --- |2| alice
eve --- |1| bob
vps --- |5| eve
alice --- |1| bob
linkStyle 0 stroke:#4caf50,stroke-width:2px
linkStyle 1 stroke:#4caf50,stroke-width:2px
linkStyle 2 stroke:#4caf50,stroke-width:2px
linkStyle 4 stroke:#4caf50,stroke-width:2px
If the alice - bob link goes down, the network automatically reconfigures around the failure:
graph LR
vps --- |2| charlie
vps --- |2| alice
eve --- |1| bob
vps --- |5| eve
alice --- |1| bob
linkStyle 0 stroke:#4caf50,stroke-width:2px
linkStyle 1 stroke:#4caf50,stroke-width:2px
linkStyle 2 stroke:#4caf50,stroke-width:2px
linkStyle 3 stroke:#4caf50,stroke-width:2px
linkStyle 4 stroke:#e53935,stroke-width:2px,stroke-dasharray:5