OpenVPN installation on Windows
Other VPN software Windows OpenVPN Installation Desktop
Última atualização:
This guide for Windows walks you through the steps for connecting to our servers using the OpenVPN Community app. You can use this instead of the Mullvad app if that is not suitable for you.
If you want to use OpenVPN with the Mullvad app then you do not need to install OpenVPN. Just select OpenVPN protocol in the Mullvad app settings.
Installation instructions
- Go to the OpenVPN Community Downloads website. This guide is made for the Community version and not OpenVPN Connect.
- Download the MSI installer for your platform (64-bit, 32-bit or ARM64) and install it.
- Go to our OpenVPN configuration file generator (log in if you are not already logged in).
- Select the following:
1. Platform: Make sure that Windows is selected.
2. Location: Select a country and (if available) a city.
3. Advanced settings > Port: T***** 443 (recommended for compatibility).
4. Advanced settings > Use IP addresses.
5. Click on the Download zip archive button. - Right-click on the downloaded file and select Extract All... Then click on Extract.
- Open the extracted folder.
- Right-click on the .ovpn file and select Open. The file should open in Notepad.
- On a new line, enter
disable-dco
. Then save the file and close Notepad. - Copy the three extracted files into
C:\Program Files\OpenVPN\config
. - Open the Start menu and start OpenVPN GUI.
- Right-click on the OpenVPN icon in the system tray and click Connect.
- Go to our Connection check to verify that you are using Mullvad VPN.
Enabling wintun
If you use OpenVPN version 2.5 or later you can enable wintun for faster speeds. This uses a wintun driver instead of the old TAP adapter.
Add windows-driver wintun
on a new line in your downloaded .ovpn file. Then copy it to C:\Program Files\OpenVPN\config again.
Auto-connect OpenVPN on login
Follow these steps to set OpenVPN to start when you log in to your computer.
- Click on the Start button. Type "tasks" and then click on Schedule tasks.
- Under Actions, click on Create Basic Task.
- Enter "OpenVPN autostart" as the name like and click Next.
- Select When I log on and click Next.
- Select Start a program and click Next.
- Click on Browse, then navigate to C:\Program Files\OpenVPN\bin\ and select openvpn-gui.exe. Then click Open.
- In the Add arguments field, enter
--connect "mullvad_se.ovpn"
(replace the .ovpn file name with the one you use). Then click Next . - Check the box for Open the Properties dialogue for this task when I click Finish. Then click on Finish.
- Check the box for Run with highest privileges.
- Click on the Triggers tab, click on the At log on condition and click on Edit.
- Click on Any user.
- Check the box for Delay task for and set it to 30 seconds. Then click on OK.
- Click on OK again to close the window.
- Find the task "OpenVPN autostart" in the Task Scheduler Library section and select it.
- On the toolbar, select Action > Properties. Then click on the Conditions tab.
- Uncheck the box for Start the task only if the computer is on AC Power. Then click on OK.
- Close the Task Scheduler.
- Restart the computer and verify that OpenVPN starts and connects automatically.
Troubleshooting
If you get an error that states "OpenVPN gui is already running" then do the following:
Windows 10
- Open the Task manager.
- Click on the Startup tab.
- Right click on "OpenVPN GUI for Windows" and select Disable.
Windows 7/8/8.1
- Click on Start. Type "msconfig" and then hit Enter.
- Click on the Startup tab.
- Uncheck OPENVPN-GUI and then click on OK.
- Either click Restart or Exit without restart.