Back to Guides

Tunnelblick / Viscosity on Mac

Here are the installation instructions when using Tunnelblick.

  1. Install TunnelBlick
  2. Click on Download Client
  3. Click on Instructions and configuration files under iOS, Android and other platforms.
  4. Select macOS as platform by using the drop-down menu.
  5. Enter your account number, select a country and click on Download and then save it to your computer.
  6. Extract it and double-click Mullvad.tblk in the subdirectory OSX.
  7. Select Connect Mullvad from the Tunnelblick menu.


Here are the installation instructions when using Viscosity

  1. Install Viscosity
  2. Click on Download Client
  3. Click on Instructions and configuration files under iOS, Android and other platforms.
  4. Select macOS as platform by using the drop-down menu.
  5. Enter your account number, select a country and click on Download and then save it to your computer.
  6. Extract the file.
  7. Import the .tblk file located in the OSX folder into Viscosity
  8. Open Viscosity's Preferences window and select the Advanced toolbar icon
  9. Tick the Allow unsafe OpenVPN commands to be used check box.
  10. Enter the username and password of an Administrator to enable the option.
  11. Connect using the imported configuration.

 

Optionally adding firewall rules

File to edit: /etc/pf.conf. The order of the following rules are important! To import the rules after the file is edited run: sudo pfctl -f /etc/pf.conf (will be automatically activated on reboot). The problem is that the firewall is turned off by default. To turn it on run sudo pfctl -e

Blocking everything in and out except via the IP address specified

block drop all
pass on lo0
pass on utun0
pass out proto udp from any to 193.138.219.226 port 1300

Replace 193.138.219.226 with the IP Addresses to the VPN servers that you wish to use.