Using the official Mullvad VPN Repos on Kali

I use Mullvad VPN on a Kali VM and wanted to start taking advantage of their apt repo so my Mullvad client would update when I run OS updates via apt.

Using the instructions they provide on their page: https://mullvad.net/en/download/vpn/linux make the following tweak to the second command under the ‘Ubuntu/Debian’ section:

# Original
# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list


# Modified
# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable bullseye main" | sudo tee /etc/apt/sources.list.d/mullvad.list

If you run the command provided by Mullvad, $(lsb_release -cs) will return “kali-rolling” which does not have an entry in the Mullvad Repo. The tweak I make is replacing $(lsb_release -cs) with bullseye which is the latest release of Debian and should let you use apt to manage your Mullvad installation on Kali for now.

With this tweak in place you can follow the rest of their instructions and Mullvad VPN should install and stay updated when you run apt update; apt upgrade on your system.

This will likely break at some point and need to be updated with the next Debian release name when that happens.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.