💾 Archived View for envs.net › ~wheresalice › posts › 2020-06-27-connecting-yggdrasil › index.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Yggdrasil is an end-to-end encrypted IPv6 network that is open for anyone to connect to. It's lightweight to install and run, and gives you the ability to build a fully encrypted network across both local links and via the public internet.
This post covers installing Yggdrasil on a Linux server and a Macbook and connecting the two, followed by some options around extending your network.
On the Linux server we install the software manually since there are no packages for CentOS 8 yet. These steps should work for any systemd Linux server though.
There are some services [4] you can connect to in order to check your connectivity, as well as running `yggdrasilctl getPeers`
There is an installer package for Mac which simplifies the process here.
If your Mac is on the same network as your Linux server then in theory it should automatically find it to peer with. This means that you can build a series of local networks without any internet connection, but still connect to the Yggdrasil network. Of course one of your nodes will need internet access to connect to the wider Yggdrasil network.
You can also use your Linux server as the peer to the wider Yggdrasil network. This requires setting the Listen section of the Yggdrasil config on the Linux server and then restarting.
Finally, you can route non-Yggdrasil traffic through the Yggdrasil network and back out via a node you have running on the Yggdrasil network.
Combining all of these peering options gives the ability to run really complicated private networks over a combination of local links and over the public internet.
---
Written by WheresAlice on 27 June 2020.
[1] builds page (https://yggdrasil-network.github.io/builds.html)
[3] here (https://publicpeers.neilalexander.dev/)
[4] services (https://yggdrasil-network.github.io/services.html)
[5] latest builds (https://yggdrasil-network.github.io/builds.html)
[6] here (https://publicpeers.neilalexander.dev/)
---