From f411f425ff159e1b2d3536945551fe7c9e01f28f Mon Sep 17 00:00:00 2001 From: who am i Date: Sun, 30 Jan 2022 13:54:00 +0100 Subject: [PATCH] Update page 'Qubes OS lokinet setup' --- Qubes-OS-lokinet-setup.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Qubes-OS-lokinet-setup.md b/Qubes-OS-lokinet-setup.md index d82e422..fd7f9e9 100644 --- a/Qubes-OS-lokinet-setup.md +++ b/Qubes-OS-lokinet-setup.md @@ -21,7 +21,12 @@ There are three ways to setup lokinet: #### **Simple setup for one standalone AppVM** -**`[user@dom0]$ qvm-create --standalone --label green --property=NAME=lokinet ...`** +Create new qube: +* Name and label: **lokinet-vm** +* Type: **Standalone qube copied from a template** +* Template: **Debian-11** +* Networking: **default (sys-firewall)** (if you want to cascade you can you a VPN) + ... ... @@ -31,6 +36,27 @@ There are three ways to setup lokinet: #### **Advanced setup based on a templateVM** +Create a new templateVM, name it **debian-11-lokinet** +* Open a terminal in dom0 +* `[user@dom0~]$ qvm-clone debian-11 debian-11-lokinet` +* Open the templateVM settings **[Dom0] Settings: debian-11-lokinet** +* Allow networking: Networking + +1. Allow networking in your debian-11-lokinet templateVM (Net qube: sys-firewall or sys-whonix in the template setting) , in order to add the oxen repository, it will print an error message, that's fine you know what you're doing + +2. Following https://deb.oxen.io paste thoses commands to add the oxen repository + + sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg + + echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list + + sudo apt update + +(You can remove the network authorisation on your debian-11-lokinet templateVM from here) + +3. Install the lokinet package : + sudo apt-get install lokinet -y + ... ... ...