summarylogtreecommitdiffstats
path: root/README.md
blob: bf2709144130766459ba231f8896a6f6a3f6cb68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Mullvad CLI and Daemon

This repository is an alternative for people who want to avoid building and running the Electron-App and instead want to rely on the systemd-daemon and the cli. Oriented on [mullvad-vpn in the AUR.](https://aur.archlinux.org/packages/mullvad-vpn/).

## Build
### Download GPG Codesigning Key
[Manual on the mullvad website](https://mullvad.net/en/help/verifying-signatures/)

- `gpg2 --keyserver pool.sks-keyservers.net --recv-keys EA0A77BF9E115615FC3BD8BC7653B940E494FE87`
- `gpg2 --edit-key EA0A77BF9E115615FC3BD8BC7653B940E494FE87`
- in gpg console enter `trust`
- in gpg console enter `5`
- in gpg console enter `quit`
- `makepkg`
- `pacman -U mullvad-vpn-....pkg.tar.xz`

## CLI Manual
https://mullvad.net/en/help/how-use-mullvad-cli/

## Settings
You need to put your account number and where you want to connect to into the /etc/mullvad-vpn/settings.json.

## optional Panel Monitor
For Xfce I am using a [Generic Monitor](https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin) with a check on a simple script every few seconds. It only checks the daemon-status and returns a string.

`mullvad status 2> /dev/null | head -n 1 | awk '{ print $3 }'`