<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows on AveryanAlex's blog</title><link>https://averylex.dev/tags/windows/</link><description>Recent content in Windows on AveryanAlex's blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 18 Jun 2025 02:47:32 +0300</lastBuildDate><atom:link href="https://averylex.dev/tags/windows/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing Yggdrasil on Windows</title><link>https://averylex.dev/p/installing-yggdrasil-on-windows/</link><pubDate>Wed, 14 Dec 2022 23:33:19 +0300</pubDate><guid>https://averylex.dev/p/installing-yggdrasil-on-windows/</guid><description>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/install-process.png" alt="Featured image of post Installing Yggdrasil on Windows" />&lt;h2 id="what-is-yggdrasil">What is Yggdrasil?
&lt;/h2>&lt;p>Yggdrasil is a decentralized mesh network where every participant is equal.
Each computer in the network (a node) is assigned a static public IPv6 address,
and any other participant can reach it directly.&lt;/p>
&lt;p>This can be used, for example, to play network games across different local
networks. One player runs a Minecraft server without paying for an external
(&amp;ldquo;white&amp;rdquo;) IP address, and another player from a different city connects to it
via Yggdrasil.&lt;/p>
&lt;h2 id="installation">Installation
&lt;/h2>&lt;p>Let&amp;rsquo;s get started: we&amp;rsquo;ll download and install Yggdrasil, configure peers to
connect to the rest of the network, check that everything works, and obtain our
own IP address.&lt;/p>
&lt;h3 id="download-the-installer">Download the installer
&lt;/h3>&lt;p>Open the page with the &lt;a class="link" href="https://github.com/yggdrasil-network/yggdrasil-go/releases/latest" target="_blank" rel="noopener"
>latest Yggdrasil release&lt;/a>
on GitHub.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/yggdrasil-releases.png"
width="849"
height="1303"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/yggdrasil-releases_hu_cddd32cdc4b7d75d.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/yggdrasil-releases_hu_7433e092ffce79cd.png 1024w"
loading="lazy"
alt="Yggdrasil latest release page on GitHub"
class="gallery-image"
data-flex-grow="65"
data-flex-basis="156px"
>&lt;/p>
&lt;p>Find the file &lt;code>yggdrasil-x.y.z-x64.msi&lt;/code> (for version 0.4.7 this is
&lt;code>yggdrasil-0.4.7-x64.msi&lt;/code>). If you have a 32-bit system (from the 2000s),
download &lt;code>yggdrasil-x.y.z-x86.msi&lt;/code> instead.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/windows-installers.png"
width="836"
height="62"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/windows-installers_hu_59f6022fb45a2935.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/windows-installers_hu_addc40075fb5952a.png 1024w"
loading="lazy"
alt="Yggdrasil Windows MSI installers on GitHub"
class="gallery-image"
data-flex-grow="1348"
data-flex-basis="3236px"
>&lt;/p>
&lt;h3 id="installing-the-msi">Installing the MSI
&lt;/h3>&lt;p>Open the downloaded MSI file.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/open-yggdrasil-installer.png"
width="1014"
height="726"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/open-yggdrasil-installer_hu_562bbbf536f38167.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/open-yggdrasil-installer_hu_8eb7a424fcdc6e9c.png 1024w"
loading="lazy"
alt="Windows Explorer with the Yggdrasil MSI installer"
class="gallery-image"
data-flex-grow="139"
data-flex-basis="335px"
>&lt;/p>
&lt;p>Confirm the launch by clicking &lt;strong>Run&lt;/strong>.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/installer-security-warning.png"
width="466"
height="359"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/installer-security-warning_hu_9fe42904182d805c.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/installer-security-warning_hu_31591b923c2738b.png 1024w"
loading="lazy"
alt="Windows security warning"
class="gallery-image"
data-flex-grow="129"
data-flex-basis="311px"
>&lt;/p>
&lt;p>When prompted, grant the installer administrator rights.&lt;/p>
&lt;p>The installer window will open and &lt;strong>no additional questions will be asked&lt;/strong>.
After installation finishes (it takes only a few seconds) the window will &lt;strong>close automatically&lt;/strong>.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/install-process.png"
width="394"
height="149"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/install-process_hu_76be2752b3f76de9.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/install-process_hu_45a29169b005c5cd.png 1024w"
loading="lazy"
alt="Yggdrasil installer"
class="gallery-image"
data-flex-grow="264"
data-flex-basis="634px"
>&lt;/p>
&lt;p>That&amp;rsquo;s it for the installation process, now let&amp;rsquo;s proceed to configuration.&lt;/p>
&lt;h4 id="error-2503">Error 2503
&lt;/h4>&lt;p>Sometimes the 2503 error appears when installing MSI files. Open the properties
of the folder &lt;code>C:\Windows\Temp&lt;/code>, go to the &lt;strong>Security&lt;/strong> tab and make sure that
the &lt;strong>Administrators&lt;/strong> group and your user (add it if it isn&amp;rsquo;t listed) have
full permissions. Information taken from &lt;a class="link" href="https://answers.microsoft.com/en-us/windows/forum/all/error-code-2503-2502-when-installing-msi-file/0aa6840f-e625-4075-b1c5-051da100c151" target="_blank" rel="noopener"
>Microsoft Community&lt;/a>.&lt;/p>
&lt;h2 id="configuring-peers">Configuring peers
&lt;/h2>&lt;p>Peers are the servers Yggdrasil connects to in order to reach the rest of the
network.&lt;/p>
&lt;p>It is better to choose one common, stable peer for all players – this minimizes
ping and prevents other people&amp;rsquo;s traffic from passing through your connection
(public peers are responsible for forwarding traffic).&lt;/p>
&lt;h3 id="choosing-peers">Choosing peers
&lt;/h3>&lt;p>There is a repository with a &lt;a class="link" href="https://github.com/yggdrasil-network/public-peers" target="_blank" rel="noopener"
>list of public peers&lt;/a>
on GitHub. Peers are grouped by continent, country and city. Choose peers that
are geographically closer to the host – this will reduce ping for all players.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/public-peers.png"
width="1062"
height="1190"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/public-peers_hu_dfcabb03bc39da0a.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/public-peers_hu_41863254a78a0ce0.png 1024w"
loading="lazy"
alt="List of public Yggdrasil peers in Russia"
class="gallery-image"
data-flex-grow="89"
data-flex-basis="214px"
>&lt;/p>
&lt;p>For example, you can use my peer (Moscow): &lt;code>tls://ygg-msk-1.averyan.ru:8363&lt;/code> or
&lt;code>quic://ygg-msk-1.averyan.ru:8364&lt;/code> (the &lt;code>quic&lt;/code> variant is preferable if it
works for you and isn&amp;rsquo;t blocked).&lt;/p>
&lt;p>However, not all of them may work – you can check the &lt;a class="link" href="https://publicpeers.neilalexander.dev/" target="_blank" rel="noopener"
>list of available
peers&lt;/a> on the developer&amp;rsquo;s website.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/peers-status.png"
width="1113"
height="741"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/peers-status_hu_5afd9932ac2b2961.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/peers-status_hu_6f8a5346533623fa.png 1024w"
loading="lazy"
alt="Status of public Yggdrasil peers"
class="gallery-image"
data-flex-grow="150"
data-flex-basis="360px"
>&lt;/p>
&lt;h3 id="editing-the-config">Editing the config
&lt;/h3>&lt;p>Press &lt;code>Win+R&lt;/code> to open the &lt;strong>Run&lt;/strong> dialog. Enter the path to the config:
&lt;code>%ALLUSERSPROFILE%\Yggdrasil\yggdrasil.conf&lt;/code>&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/open-config.png"
width="431"
height="208"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/open-config_hu_9478197588432a66.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/open-config_hu_b629a1a1f0e6f9e5.png 1024w"
loading="lazy"
alt="Run dialog with the Yggdrasil config path"
class="gallery-image"
data-flex-grow="207"
data-flex-basis="497px"
>&lt;/p>
&lt;p>Click &lt;strong>OK&lt;/strong>. If Windows asks how to open the file, choose Notepad.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/original-config.png"
width="760"
height="590"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/original-config_hu_8c9edf7f72506bf2.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/original-config_hu_81ff9327140d0d63.png 1024w"
loading="lazy"
alt="Yggdrasil config right after installation"
class="gallery-image"
data-flex-grow="128"
data-flex-basis="309px"
>&lt;/p>
&lt;p>Insert the peers you chose into the &lt;strong>Peers&lt;/strong> list:&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;span class="lnt">2
&lt;/span>&lt;span class="lnt">3
&lt;/span>&lt;span class="lnt">4
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">Peers: [
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> tls://ygg.averyan.ru:8362
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> tcp://box.paulll.cc:13337
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">]
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/peers-config.png"
width="760"
height="590"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/peers-config_hu_1fff84beff57e1ed.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/peers-config_hu_71675be3317a8307.png 1024w"
loading="lazy"
alt="Yggdrasil config with peers"
class="gallery-image"
data-flex-grow="128"
data-flex-basis="309px"
>&lt;/p>
&lt;p>Save the file with &lt;code>Ctrl+S&lt;/code> or via the &lt;strong>File&lt;/strong> menu.&lt;/p>
&lt;h3 id="restarting-yggdrasil">Restarting Yggdrasil
&lt;/h3>&lt;p>For Yggdrasil to apply the new settings, it needs to be restarted. The most
obvious (but slow) way is to reboot the computer. Instead, we&amp;rsquo;ll restart it via
Task Manager.&lt;/p>
&lt;p>Open &lt;strong>Task Manager&lt;/strong> with &lt;code>Ctrl+Shift+Esc&lt;/code> or by right-clicking the Windows
icon (Start button) on the taskbar.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/open-task-manager.png"
width="374"
height="616"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/open-task-manager_hu_86133222c8bb7831.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/open-task-manager_hu_574b1384ca2379c9.png 1024w"
loading="lazy"
alt="Task Manager in Start button context menu"
class="gallery-image"
data-flex-grow="60"
data-flex-basis="145px"
>&lt;/p>
&lt;p>If the simplified Task Manager opens, click &lt;strong>More details&lt;/strong>.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-mini.png"
width="365"
height="365"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-mini_hu_27aa009e0a19d153.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-mini_hu_428c80f553b5c924.png 1024w"
loading="lazy"
alt="Simplified Task Manager"
class="gallery-image"
data-flex-grow="100"
data-flex-basis="240px"
>&lt;/p>
&lt;p>Open the &lt;strong>Services&lt;/strong> tab, find &lt;strong>Yggdrasil&lt;/strong> at the very bottom, right-click it
and choose &lt;strong>Restart&lt;/strong>.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-restart-yggdrasil.png"
width="890"
height="541"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-restart-yggdrasil_hu_e67e69dbb8f043ff.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/task-manager-restart-yggdrasil_hu_53d6b6b89f68e87a.png 1024w"
loading="lazy"
alt="Restarting the Yggdrasil service in Task Manager"
class="gallery-image"
data-flex-grow="164"
data-flex-basis="394px"
>&lt;/p>
&lt;h2 id="final-steps">Final steps
&lt;/h2>&lt;p>Installation and configuration are complete – let&amp;rsquo;s check that everything works
and find out our IP address.&lt;/p>
&lt;h3 id="checking-functionality">Checking functionality
&lt;/h3>&lt;p>Open &lt;strong>Command Prompt&lt;/strong>.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/open-cmd.png"
width="800"
height="750"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/open-cmd_hu_95895407cf3a7ab5.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/open-cmd_hu_e71faaeecaee70c4.png 1024w"
loading="lazy"
alt="Searching for Command Prompt"
class="gallery-image"
data-flex-grow="106"
data-flex-basis="256px"
>&lt;/p>
&lt;p>Enter the command &lt;code>&amp;quot;C:\Program Files\Yggdrasil\yggdrasilctl.exe&amp;quot; getPeers&lt;/code> to
view the list of connected peers. There should be as many as you configured. If
there are fewer, some peers are unavailable.&lt;/p>
&lt;p>If an error occurs when entering this command, try rebooting the computer.&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getpeers.png"
width="1663"
height="267"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getpeers_hu_8111f1ea6a7f5f3c.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getpeers_hu_e0151ad85dcaf771.png 1024w"
loading="lazy"
alt="Running yggdrasilctl getPeers in Command Prompt"
class="gallery-image"
data-flex-grow="622"
data-flex-basis="1494px"
>&lt;/p>
&lt;p>Try opening and pinging the &lt;a class="link" href="http://[319:3cf0:dd1d:47b9:20c:29ff:fe2c:39be]/" target="_blank" rel="noopener"
>Yggdrasil website&lt;/a>
(&lt;strong>available only from the Yggdrasil network&lt;/strong> and may load quite slowly):&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">ping &lt;span class="o">[&lt;/span>319:3cf0:dd1d:47b9:20c:29ff:fe2c:39be&lt;span class="o">]&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-ping.png"
width="1663"
height="514"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-ping_hu_6c7ab97de55b5ce1.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-ping_hu_7e09031ec9776842.png 1024w"
loading="lazy"
alt="Running ping to test Yggdrasil functionality"
class="gallery-image"
data-flex-grow="323"
data-flex-basis="776px"
>&lt;/p>
&lt;h3 id="getting-your-ip-address">Getting your IP address
&lt;/h3>&lt;p>To find out your own IP address, enter the command &lt;code>&amp;quot;C:\Program Files\Yggdrasil\yggdrasilctl.exe&amp;quot; getSelf&lt;/code>:&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getself.png"
width="772"
height="495"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getself_hu_f026a988d6fff108.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/cmd-getself_hu_c54ee5f9b349617a.png 1024w"
loading="lazy"
alt="Getting your own IP address in the Yggdrasil network"
class="gallery-image"
data-flex-grow="155"
data-flex-basis="374px"
>&lt;/p>
&lt;p>The highlighted line will show your IPv6 address in the Yggdrasil network.&lt;/p>
&lt;p>You&amp;rsquo;ll notice that the ping to your own address is practically zero.&lt;/p>
&lt;h2 id="configuring-games">Configuring games
&lt;/h2>&lt;p>Yggdrasil is now installed on your computer and running. Let&amp;rsquo;s use it for
network games.&lt;/p>
&lt;h3 id="minecraft">Minecraft
&lt;/h3>&lt;p>Install Yggdrasil on the device that will host the server and on those that
will connect to it.&lt;/p>
&lt;p>Start a LAN game on the host (&lt;strong>Open to LAN&lt;/strong>) and note the port:&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-start-lan-game.png"
width="930"
height="753"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-start-lan-game_hu_58b318b77efed5db.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-start-lan-game_hu_4bcc7fed31e72332.png 1024w"
loading="lazy"
alt="Opening a local server in Minecraft"
class="gallery-image"
data-flex-grow="123"
data-flex-basis="296px"
>&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-server-port.png"
width="708"
height="70"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-server-port_hu_61553f51cbb7219e.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-server-port_hu_36d2964be9cd8d3f.png 1024w"
loading="lazy"
alt="Local Minecraft server port"
class="gallery-image"
data-flex-grow="1011"
data-flex-basis="2427px"
>&lt;/p>
&lt;p>Find out the host&amp;rsquo;s IP address. (In my case it is
&lt;code>200:d08:17f6:af6e:b285:16de:d3ba:387a&lt;/code>)&lt;/p>
&lt;p>Connect to the server (enter the IP &lt;strong>in square brackets&lt;/strong> and specify the port
after the colon):&lt;/p>
&lt;p>&lt;img src="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-connect.png"
width="863"
height="221"
srcset="https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-connect_hu_794b44a8429f3bf2.png 480w, https://averylex.dev/p/installing-yggdrasil-on-windows/minecraft-connect_hu_5088bec9b77b0237.png 1024w"
loading="lazy"
alt="Connecting to a Minecraft server via Yggdrasil"
class="gallery-image"
data-flex-grow="390"
data-flex-basis="937px"
>&lt;/p>
&lt;p>If you can&amp;rsquo;t connect, try configuring the Windows Firewall or turning it off
completely, and also check the ping to the host.&lt;/p>
&lt;p>Done! Now you can play Minecraft with your friends at any time.&lt;/p></description></item></channel></rss>