跳至主要内容

Using WireGuard on macOS

WireGuard macOS Desktop Using 

最近更新时间:

Tested on MacOS 13.2 Ventura

This guide for macOS users explains how to connect to Mullvad’s WireGuard® servers.

Choose one of the two following options. Do not use them simultaneously.

Option 1: use the Mullvad app

The Mullvad VPN app for macOS uses the WireGuard protocol by default, so all you need to do is connect.

Using the Mullvad app

Option 2: use the WireGuard app

Currently, the WireGuard app requires macOS version 12.0 (Monterey) or newer.

Download WireGuard app

  1. Open the macOS App Store and find the WireGuard app.
  2. Click Get/Install to download and install the app.
  3. Start the WireGuard app from your computer's Launchpad or Application folder. The WireGuard icon will display in your desktop's top menu bar (no window will automatically open).

Generate a configuration file

  1. In a browser window, navigate to our WireGuard configuration generator.
  2. Enter your Mullvad account number in the Account number field.
  3. Under Platform, choose macOS.
  4. Click on Generate key. (Generate a separate key pair for each device that you use.)
  5. Select a country / city / server.
  6. (Optional) Select the DNS content blockers that you want to use.
  7. Click on Download file and wait for the file to download.

Import the configuration file

  1. Click on the WireGuard icon in your macOS top menu bar.
  2. In the drop-down menu, select Import tunnel(s) from file...
  3. Navigate to your Downloads folder and select the configuration file that you downloaded from our website.
  4. Click Import.
  5. Click Allow if you get a pop-up saying "WireGuard would like to Add VPN Configurations."

Connect

  1. Click on the WireGuard icon located in your desktop's top menu bar.
  2. In the drop-down menu, select the Mullvad VPN server that you want to connect to, for example "mullvad-se2".
  3. A checkmark will appear next to it. That's it!
  4. You can visit our Connection check to check that you're connected.

You can view more detailed information about connection status as well as manage your connection under "Manage Tunnels" in the drop down menu.

Disconnect

  1. Click on the WireGuard icon located in your desktop's top menu bar.
  2. In the drop-down menu, click on the server that you're connected to (the one with a checkmark next to it).
  3. The checkmark will disappear, signaling that you are disconnected.

Local network sharing

  1. Clcik on Manage Tunnels  in the drop down menu after clicking the WireGuard icon in the top menu bar.
  2. Click on the server profile
  3. Click on the edit
  4. Check the Exclude private IPs checkbox in the bottom left corner
  5. Under Allowed IPs add ,10.64.0.0/10 to the end of AllowedIPs
  6. Click on the Save icon
  7. Deactivate and then Activate the server profile that you edited

Is it working?

While on your device, visit our Connection check to get a quick overview of your Mullvad-WireGuard connection status. In addition, it's a good time to check if your browser is leaking information and therefore jeopardizing your privacy.

FAQ

Q: I get a pop-up, "WireGuard' is trying to view tunnel private keys" when trying to edit a tunnel. Is this normal?
A. Yes. Click on Use Password if you want to continue.

External resources

"WireGuard" is a registered trademark of Jason A. Donenfeld.