Related GitHub issue #313
Mullvad VPN does currently not work on Linux.
- Open the Mullvad VPN Application
- Open settings, select VPN settings, enable "Use custom DNS server"
- Input
127.0.0.1
as your DNS Server to loopback to Portmaster
- Open Portmaster UI
- Select the mullvad-daemon.exe and openvpn.exe (if using the openvpn protocol) profile.
(For future troubleshooting check if any connections are blocked in these profiles)
- Disable Force Block Incoming Connections
- Select the Network Noise profile
- Disable Force Block Incoming Connections
- Configure Incoming rules to allow Mullvad's servers
Allow AS39351
Block * # Block any other incoming connections
- Open Windows Settings
- Select "Network & internet"
- Click on "Ethernet"
- Scroll down to "DNS server assignment"
- Change from "Automatic" to "Manual" and toggle on IPv4
- Enter the DNS adress:
127.0.0.1
- There is a few methods but we'll be using the terminal
- Edit
/etc/systemd/resolved.conf
with your favorite editor
- Locate the DNS lines and uncomment the line by removing the hash (
#
) symbol.
- Enter the DNS address as follows:
DNS=127.0.0.1
Since the compatability issue is with the Mullvad VPN application we can use a workaround that uses the NetworkManager VPN plugin for OpenVPN
- Login to your Mullvad Account and download the openvpn config https://mullvad.net/en/account/openvpn-config
- Extract the files and make sure you got
- mullvad_ca.crt
- mullvad_*.conf
- mullvad_userpass.txt
- Open your Network Mananger settings and create a new OpenVPN connection
- In the VPN (openvpn) tab
- Open your
mullvad_*.conf
to extract the remote IP's
Input all the servers you want to use into Gateway
- Select Connection type: Password
- Import your
mullvad_ca.crt
in CA Certificate
- Input your Username and Password from
mullvad_userpass.txt
- In the IPv4 tab
- Select Method: Automatic (Only addresses)
- Input DNS Servers: 127.0.0.1
- Mullvad VPN via the app does currently not work on Linux.
- Wireguard can be hit or miss.