OpenVPN installation on Windows

OTHER VPN SOFTWARE

Last updated: 28 October 2021


This Windows-specific guide walks you through the steps for connecting to our servers using OpenVPN.

Installation instructions

  1. Download and install OpenVPN (Community Download).
  2. Navigate to our OpenVPN configuration file generator.
  3. Select the following:
    1. Platform: Make sure that Windows is selected.
    2. Location: Select a country and (if available) a city.
    3. Avanced settings > Port: TCP 443 (if required by Wi-Fi).
    4. Avanced settings > Use IP addresses (if DNS resolution fails)
    5. Tap on the Download zip archive button.
  4. Open/extract the downloaded archive.
  5. Place the extracted files in C:\Program Files\OpenVPN\config.
  6. Start OpenVPN GUI from the Start menu.
  7. Right-click on the OpenVPN icon in the system tray and click Connect.
Mullvad works with OpenVPN 2.4 and newer.

Enabling wintun

If you use OpenVPN version 2.5.0 or later you can enable wintun for faster speeds. This uses a wintun adapter instead of the old TAP adapter.

Add windows-driver wintun on a new line in your downloaded OpenVPN configuration file.

Auto-connect OpenVPN on login

Follow these steps to set OpenVPN to start when you log in to your computer.

  1. Click on the Windows Start button. Type "tasks" and then click on Schedule tasks.
  2. Under Actions, click on Create Basic Task.
  3. Fill out a name for the task and click Next.
  4. Select When I log on and click Next.
  5. Select Start a program and click Next.
  6. Click on Browse, then navigate to C:\program files\OpenVPN\bin\ and select openvpn-gui.exe. Then click Open.
  7. In the Add arguments field, type --connect "mullvad_se.ovpn" (with quotation marks) and then click Next (replace the file name with that of the configuration file you downloaded).
  8. Check the box for Open the Properties dialogue for this task... and click Finish.
  9. Check the box for Run with highest privileges.
  10. Click on the triggers tab, select At log on and then click Edit.
  11. Click on Any user.
  12. Under Advanced settings use the drop-down menu for Delay task for: and set it to 30 seconds, then click OK.
  13. Select the task again.
  14. On the toolbar, select Action > Properties > Conditions.
  15. Uncheck the box for Start the task only if the computer is on AC Power.
  16. Close the task scheduler.

If you get an error that states "OpenVPN gui is already running," then do the following:

  1. Click on Start. Type "msconfig" and then hit Enter.
  2. Click on the Startup tab.
  3. Uncheck OPENVPN-GUI and then click on OK.
  4. Either click Restart or Exit without restart.

Is your browser leaking?

Use our Connection check to see if your browser is leaking information and therefore jeopardizing your privacy. This can occur even while connected to Mullvad.