manually configure a VPN on Windows 10

Most commercial VPN providers these days make their own apps. VPN apps take much of the hassle out of setting up a VPN through a simple installation process: download, install, sign in, and connect. The apps come pre-configured with all of the provider’s servers ready to go.

But for one reason or another, a plug-and-play VPN app might not be an option. Maybe your VPN provider doesn’t make its own app, the app is inaccessible where you live, or you don’t have permission to install new apps on your device. If your employer runs its own enterprise VPN, there’s a good chance that manual setup is required.

In some cases, manual configuration might work in places where the VPN app is blocked. In the UAE, for example, local internet service provider Etisalat blocked connections from the NordVPN app, but allowed NordVPN connections that had been manually configured.

In these scenarios, you’ll have to manually set up your VPN. How you do this depends largely on the VPN protocol used by your provider. This guide will show you how to manually configure a VPN on Windows 10 using the following protocols:

  • OpenVPN
  • IPSec: L2TP, SSTP, and IKEv2
  • Wireguard

These are the most common VPN protocols in use today. Windows 10 has built-in support for IPSec protocols, and the others require a third-party app.

Before you start, ask your VPN provider or IT admin which protocol to use. Then skip to the appropriate section below. We’ll be using NordVPN and StrongVPN for our tutorials, but the process is similar with any VPN provider.

See also: Best VPNs for Windows 10

How to manually configure an OpenVPN client on Windows 10

What you’ll need:

  • An OpenVPN client application
  • OpenVPN config files from your provider (.ovpn)
  • Username
  • Password

Windows doesn’t support OpenVPN out of the box, so you’ll need a third-party application to set up a connection. If your provider or IT admin doesn’t specify which app to use, we recommend downloading the official OpenVPN GUI for Windows 10. Both 64-bit and 32-bit options are available.

If your provider is using OpenVPN, then it should have OpenVPN configuration files available for download. These files typically contain connection specifications, a certification key, and an encryption key. You can open and edit them with a text editor, but for our purposes that won’t be necessary.

Here’s how to configure your OpenVPN connection on Windows 10:

  1. Download and install your OpenVPN app in the default location. We’ll use the official OpenVPN GUI app linked above for this demonstration. It uses a standard installation wizard.
  2. Get the OpenVPN configuration file(s) for the server(s) to which you want to connect. These will either have .ovpn or .conf file extensions. NordVPN lets me download .ovpn files directly from its website. One config file per server. Take note whether you need UDP or TCP config files, which will be determined by your provider.
  3. Copy or extract the config files into your OpenVPN app’s configuration directory. By default on Windows, this will be C:\Program Files\OpenVPN\config. Click Continue if prompted for administrator permission. On some apps, you might need to use a built-in import function.windows 10 openvpn manual setup 1
  4. Open the OpenVPN client app and allow it to make changes to your device if prompted. On Windows, the OpenVPN app runs in your system tray on the bottom right.
  5. Right click the system tray icon, select the imported config, and click Connect.windows 10 openvpn manual setup 2
  6. Enter your VPN account username and password.windows 10 openvpn manual setup 3

If everything goes according to plan, the app will take a few seconds to connect and then the VPN will be ready to use.

windows 10 openvpn manual setup 4

How to manually configure IPSec VPN on Windows 10 (L2TP, SSTP, IKEv2)

What you’ll need:

  • Server hostname
  • Username
  • Password
  • Certificate or shared secret

Windows has built-in support for IPSec-based VPN protocols including L2TP, SSTP, and IKEv2. Although each of these protocols works a bit differently, the setup is more or less the same. In this tutorial, I’ll focus on IKEv2.

Note that different providers can use different encryption schemes. If your provider uses a certificate, for example, you might need to install the certificate and import it into your PC’s trusted root certification authorities. That’s beyond the scope of this article, so we’ll just be doing the basic VPN setup.

Here’s how to configure an IPSec VPN connection on Windows 10 (IKEv2):

  1. Type „Control Panel“ into the Windows search bar and choose the top option.windows 10 ikev2 setup manual 1
  2. Go to Network and Internet > Network and Sharing Center.windows 10 ikev2 setup manual 2
  3. Click Set up a new connection or network.
  4. Choose Connect to a workplace.windows 10 ikev2 setup manual 3
  5. Tick the option that states, No create a new connection and click Next.windows 10 ikev2 setup manual 4
  6. Choose Use my internet connection (VPN).windows 10 ikev2 setup manual 5
  7. Enter your server hostname into the Internet address box, enter any name you wish for the Destination name, and click Create.windows 10 ikev2 setup manual 6
  8. Back on the Network and Sharing Center window, click Change adapter settings in the left sidebar.windows 10 ikev2 setup manual 7
  9. Right-click the connection we just created and select Properties. Go to the Security tab.windows 10 ikev2 setup manual 8
  10. Enter your connection details as specified by your VPN provider, including type of VPN, encryption, and authentication.
  11. Optional: Go to the Network tab and uncheck Internet Protocol Version 6 (TCP/IPv6). This can help prevent IPv6 data leaks.
  12. Click Ok to save your changes.
  13. In the Windows search bar, type „vpn“ and select VPN settings, which for me is the top result.windows 10 ikev2 setup manual 9
  14. Click the VPN connection you just set up and choose Advanced Options.windows 10 ikev2 setup manual 10
  15. Under Connection properties, click Edit.windows 10 ikev2 setup manual 11
  16. Enter your username and password, if needed, then click Save.
  17. Back on the VPN settings page, click your VPN connection and then click Connect.windows 10 ikev2 setup manual 12

After a few moments, the connection will be established and the VPN will display the status Connected.

How to manually configure a Wireguard client on Windows 10

What you’ll need:

  • Wireguard client app
  • Wireguard configuration file

Wireguard setup is similar to OpenVPN in that it requires a third-party client and a configuration file from your provider. The config file will contain all of the connection and encryption specifications you need, including login credentials.

You can download and install the official Wireguard app from here. We’ll be using it to connect to StrongVPN in this tutorial, though the process should be similar for other providers.

Here’s how to manually set up a Wireguard client on Windows 10:

  • Download and install the Wireguard client using the link above.windows 10 wireguard setup manual 1
  • Get the Wireguard configuration file for the server you wish to connect to from your VPN provider or network administrator. It will have a .conf extension.windows 10 wireguard setup manual 2
  • Open the Wireguard app. Click Import tunnel(s) from file.windows 10 wireguard setup manual 3
  • Navigate to your configuration file and click Open.
  • Click Activate.windows 10 wireguard setup manual 4

After a few seconds, you should receive a notification informing you that the VPN is connected.