Skip to content

TimoKramer/mullvad-vpn-cli

Repository files navigation

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..

Build

Download GPG Codesigning Key

Manual on the mullvad website

  • gpg2 --keyserver pool.sks-keyservers.net --recv-keys EA0A77BF9E115615FC3BD8BC7653B940E494FE87
  • gpg2 --edit-key EA0A77BF9E115615FC3BD8BC7653B940E494FE87
  • gpg2 --keyserver pool.sks-keyservers.net --recv-keys 8339C7D2942EB854E3F27CE5AEE9DECFD582E984
  • gpg2 --edit-key 8339C7D2942EB854E3F27CE5AEE9DECFD582E984 for each key do:
  • in gpg console enter trust
  • in gpg console enter 5
  • in gpg console enter quit

build package

  • makepkg --cleanbuild --clean --force
  • 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 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 }'

About

My Personal Arch Linux User Repository Builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages