diff --git a/Qubes-OS-lokinet-setup.md b/Qubes-OS-lokinet-setup.md index da8b697..02a2baf 100644 --- a/Qubes-OS-lokinet-setup.md +++ b/Qubes-OS-lokinet-setup.md @@ -6,7 +6,12 @@ ... -... +This guide is based on +* Qubes OS 4.0 (verified for Qubes OS 4.1) +* Debian 11 +* Tor-Browser 11.0.4 +* lokinet-0.9.8-deb0.9.8.1~deb10 + ________________________________________________________ @@ -21,12 +26,19 @@ There are three ways to setup lokinet: #### **Simple setup for one standalone AppVM** -Create new qube: +Create new qube * Name and label: **lokinet-vm** * Type: **Standalone qube copied from a template** * Template: **Debian-11** * Networking: **default (sys-firewall)** (or sys-whonix, or sys-vpm) +Add the apt source list and install lokinet: +* open a terminal in **lokinet-vm** +* `user@lokinet-vm:~$ sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg` (1) +* `user@lokinet-vm:~$ echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list` (1) +* `user@lokinet-vm:~$ sudo apt update` +* `user@lokinet-vm:~$ sudo apt-get install lokinet-gui -y` + Remark: Once you have lokinet access, you can also fetch packages over lokinet by changing `https://deb.oxen.io` to `http://deb.loki` (note "http" instead of "https"). ... ... @@ -36,17 +48,18 @@ Remark: Once you have lokinet access, you can also fetch packages over lokinet b #### **Advanced setup based on a templateVM** -Create a new templateVM, name it **debian-11-lokinet** -* Open a terminal in dom0 +Create a new templateVM and add the apt source list +* open a terminal in dom0 * `[user@dom0~]$ qvm-clone debian-11 debian-11-lokinet` -* Open the templateVM settings *[Dom0] Settings: debian-11-lokinet*, confirm your setting with *Apply* and keep the window open. -* Allow networking: Networking: **sys-firewall** (or sys-whonix, or sys-vpm) -* sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg >(1)< -* echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list -* sudo apt update +* open the templateVM settings *[Dom0] Settings: debian-11-lokinet*, confirm your setting with *Apply* and keep the window open. +* allow networking: Networking: **sys-firewall** (or sys-whonix, or sys-vpm) +* `user@debian-11-lokinet:~$ sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg` (1) +* `user@debian-11-lokinet:~$ echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list` (1) +* `user@debian-11-lokinet:~$ sudo apt update` * go back to your templateVM settings *[Dom0] Settings: debian-11-lokinet*, set the networking back to **default(none)** and confirm with *Apply* and close the setting window. +Install lokinet * open a terminal in **debian-11-lokinet** -* `user@debian-11-lokinet:~$ sudo apt-get install lokinet -y` +* `user@debian-11-lokinet:~$ sudo apt-get install lokinet-gui -y` Remark: Once you have lokinet access, you can also fetch packages over lokinet by changing `https://deb.oxen.io` to `http://deb.loki` (note "http" instead of "https"). ... @@ -88,6 +101,7 @@ In the Tor-Browser address bar type **`about:config`** and confirm the risk to a * search for: **extensions.torlauncher.start_tor** and set it to **false** * search for: **network.proxy.socks** and **replace the 127.0.0.1 **with one space** " ". +Remark: ________________________________________________________ @@ -112,7 +126,7 @@ ________________________________________________________ ________________________________________________________ -sources: https://deb.oxen.io/; Oxen Privacy Tech Foundation (OPTF) https://optf.ngo/about-optf. +sources: (1) https://deb.oxen.io/; (2) https://docs.oxen.io/products-built-on-oxen/lokinet (3) Oxen Privacy Tech Foundation (OPTF) https://optf.ngo/about-optf. contributors: Loutchi