Created
November 20, 2025 05:54
-
-
Save opiums9/3559c69ed16b288f273e5b8f6c93a2d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| apt install dirmngr -y | |
| mkdir -p /usr/local/apt-keys | |
| gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt | |
| gpg --export BC1BF63BD10B8F1A | tee /usr/local/apt-keys/yggdrasil-keyring.gpg > /dev/null | |
| echo 'deb [signed-by=/usr/local/apt-keys/yggdrasil-keyring.gpg] http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' > /etc/apt/sources.list.d/yggdrasil.list | |
| apt update && apt install yggdrasil -y | |
| # Add some peers | |
| sed -i 's| Peers: \[\]| Peers: [ "tls://45.95.202.21:443", "tls://45.147.200.202:443", "quic://srv.itrus.su:7993", "wss://ygg-evn-1.wgos.org:443" ]|' /etc/yggdrasil/yggdrasil.conf | |
| systemctl restart yggdrasil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment