OpenVPN installation on Windows


Last updated: 30 June 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 Configuration files page.
  3. Follow the instructions on that page for downloading a configuration file and connecting.
  4. Return to this page and read on for optional settings.
Mullvad works with OpenVPN 2.4 and newer.

Turning on DNS protection

This option requires Windows Filtering Platform to be enabled.

If you want to enable protection against DNS queries on network interfaces other than the TAP interface, edit the configuration file by adding "block-outside-dns". Then save and reconnect.

Enabling auto-start 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.