mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2024-11-22 09:51:32 -05:00
Create lokinet.sh
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
5c1bf8ac9a
commit
f11ba9553d
12
kicksecure/lokinet.sh
Normal file
12
kicksecure/lokinet.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#DNS doesn't work on an AppVM if Lokinet is used in a ProxyVM so Lokinet has to be installed on the AppVM
|
||||||
|
#There is a risk of leaks because I dont see any killswitch being implemented
|
||||||
|
|
||||||
|
sudo curl --proxy http://127.0.0.1:8082 -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 curl --proxy http://127.0.0.1:8082 -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install --no-install-recommends brave-browser lokinet-gui
|
||||||
|
sed -i 's/#exit-node=/exit-node=exit.loki/' /var/lib/lokinet/lokinet.ini
|
||||||
|
systemctl enable --now lokinet
|
Loading…
Reference in New Issue
Block a user