This guide will help you connect to Mullvad VPN servers using the OpenVPN client Tunnelblick on your macOS.
- Tunnelblick 3.8.3 requires that you remove the line "tun-ipv6" from the configuration file. See "Import configuration file" below.
This guide was verified with macOS 13.2 and Tunnelblick 3.8.7a (build 5770).
1. Download Mullvad configuration file
- Visit our configuration file generator page to download a configuration file.
- Enter your account number and choose your configuration options.
- Download and extract the zipped files.
2. Install Tunnelblick
- Download the latest TunnelBlick release.
- Open the folder where the file was downloaded and double-click the .dmg file.
- Follow the on-screen installation instructions.
3. Import configuration file
- Open the folder containing your extracted configuration files.
- Right click on the Mullvad.tblk file and choose "Show Package Contents".
- Open the OpenVPN configuration file (mullvad_xx.conf) with TextEdit.
- Remove the line "tun-ipv6".
- Close TextEdit (the file will save automatically).
- Double-click on the Mullvad.tblk file to open it with Tunnelblick or drag it to the Tunnelblick icon in the macOS menu bar.
- Follow the on-screen instructions to install the configuration file.
4. Verify the OpenVPN version
- Click on the Tunnelblick icon in the macOS menu bar
- Click on VPN Details...
- Click on the Mullvad server configuration in the left column of the app
- Click on the Settings tab.
- Make sure that OpenVPN version is set to 2.5.x or 2.4.x and not 2.3.x.
5. Connect to Mullvad
- Click on the Tunnelblick icon in the menu bar and choose the Mullvad server that you imported.
- Follow any on-screen instructions until you are connected.
How to add firewall rules (optional)
The following instructions will block everything in and out except via the IP address specified.
- Open the file /etc/pf.conf and edit it so that it contains the following rules (the ordering is important!), replacing xxx.xxx.xxx.xxx with the IP address of the Mullvad server you wish to use.
block drop allto
pass on lo0
pass on utun0
pass out proto udp from any
xxx.xxx.xxx.xxx port 1300
- Once completed, open a terminal window and run
sudo pfctl -f /etc/pf.conf toimport the rules.
- Reboot your computer to activate these changes.
- The firewall is turned off by default. Turn it on by running
sudo pfctl -e.
Is your browser putting your privacy at risk?
Even while you're connected to Mullvad, your browser could still be leaking information and therefore jeopardizing your privacy. Visit our Connection check to get a quick overview of your connection status.