1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-12-22 07:01:33 -05:00

Mullvad fully working

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-09-03 06:04:46 -04:00 committed by GitHub
parent be6bc51177
commit 6bd8ad07c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/bin/bash
#Needs to be installed in a standalone VM for now.
sudo dnf install -y https://mullvad.net/media/app/MullvadVPN-2022.4_x86_64.rpm
sudo systemctl enable mullvad-daemon
echo "[org/gnome/desktop/interface]
gtk-theme='Arc-Dark'
@ -14,10 +14,11 @@ sudo dconf update
sudo rm -rf /usr/share/icons/Arc
echo "/usr/lib/qubes/qubes-setup-dnat-to-ns" | sudo tee -a /rw/config/rc.local
sudo mkdir -p /etc/qubes-bind-dirs.d
sudo tee /etc/qubes-bind-dirs.d/50_user.conf << EOF > /dev/null
binds+=( '/etc/mullvad-vpn' )
EOF
#I am still missing something here to make it work in a TemplateVM->AppVM setup... not sure what right now.
#sudo mkdir -p /etc/qubes-bind-dirs.d
#sudo tee /etc/qubes-bind-dirs.d50_user.conf << EOF > /dev/null
#binds+=( '/etc/mullvad-vpn' )
#EOF
#Run these in the AppVM:
#echo "sleep 10 # Waiting a bit that Mullvad succeeds to establish connection
#/usr/lib/qubes/qubes-setup-dnat-to-ns" | sudo tee -a /rw/config/rc.local