How do you implement the equivalent of the mullvadvpn-app on non-supported distros?

Hello,

Currently on Ubuntu 22.04 I have this installed for my Mullvad VPN: GitHub - mullvad/mullvadvpn-app: The Mullvad VPN client app for desktop and mobile - And I use WireGuard only.

And it works really well! It protects me from various leaks and I have this deadman’s switch, meaning all of the traffic is blocked by default if I happen to disconnect from the VPN.

As of now, only Ubuntu, Debian and Fedora are supported. But suppose I want to try this on other distro’s. How would I go about doing that?

How do you use the equivalent of the mullvadvpn-app on a non-supported distro?

Thanks in advance.

Also, what methods does it exactly employ for leak prevention? Maybe I can help build a cross-platform CLI app.

On Arch, it’s in the AUR (Arch User Repo), on Nix (universial Linux & macOS package manager), it’s in the default repo, on Gentoo it’s in the GURU (Gentoo User Repository), and on everything else, you can compile from source.

I have WireGuard support in my kernel and just use a config file. I have a service setup to run at startup to run wg-quick up mullvad. I have had this setup since before the app was available (for my distro, as I did not want to have to manage an unregistered app install manually).

I guess you could, but would it guarantee the same leak protection as on officially supported distros?

On Arch Linux, there’s a mullvad-vpn-bin package in the AUR, which uses the Debian/Ubuntu version. And the mullvad-vpn package on GURU and AUR both compile from source. And the Nix one is sorta broken, but the CLI works. They all have the same protection.

Very good question / concern - and the exact reason I left AUR to those with bigger balls!

This is great to hear, thanks so much!