This guide assumes that you have obtained a Personal Information Exchange (p12) file from your VPN service provider. The file contains the server certificate and maybe the client private key & certificate (if using certificate authentication instead of EAP-MACHAP v2).
There are two major tasks: install the certificates and create a VPN connection.
Task 1: install the certificates.
Start mmc: click the Start button, then enter mmc.
In the mmc window, click “Add/Remove Snap-in”.
Select “Certificates”, then click Add.
Select “Computer Account”, click “Next”.
Select “Local Computer”, click “Finish”.
Right click on “Personal”, select “All Tasks”, then “Import”.
Browse for the p12 file.
Select “Personal Information Exchange” under the file type selection dropdown. Then open the p12 file.
Enter the password for the p12 file (if there is one).
Select “Automatic” certificate store.
Task 2: create the VPN connection.
Click “Open Network and Sharing Center”.
Click “Set up a new connection…”
Select “Connect to a workplace”.
Select “Use my Internet connection (VPN)”.
Enter VPN server domain name or IP address. Name the VPN connection. Check “Don’t connect now; just set it up so I can connect later”.
Leave username, password empty (if you are authenticating with client certificates). Enter your username and password here if you are authenticating with EAP-MSCHAP v2. Click “Create”.
After the VPN connection is created, go back to the “Network and Sharing Center”. Click on “Change adapter settings”.
Right click on the newly created VPN connection. Click “Properties”.
Click on the “Security” tab. Select “IKEv2” for “Type of VPN”. Click “Use machine certificates” (if you are using client certificates to authenticate the user). If you are using EAP-MSCHAP v2 (with username and password), see alternative task below.
Click on the “Networking” tab. Uncheck “TCP/IPv6). Click OK.
Click on the network icon at the bottom right corner again. Click on the VPN connection, then click “Connect”.
Alternative task 2: if authenticating with EAP-MSCHAP v2.
In step 6 above, enter your username and password.
In step 9 above, select “Use Extensible Authentication Protocol (EAP), then EAP-MSCHAP v2.
Task 3: Check that your VPN connection is working
Open a web browser, enter https://ipleak.net/. Make sure that your IP address is that of the VPN service (i.e., no longer your ISP assigned IP address), and DNS addresses are also that from the VPN service.
If your VPN server is located in the same geographical region as your ISP connection, sometimes it’s hard to tell if your DNS service has changed to that provided by the VPN. This page will tell you who is your DNS provider: http://whoismydns.com/
There are instances that your browser is stuck with the ISP assigned DNS server. In that case, manually set the DNS service on your ISP connection (WiFi or Ethernet adapter) to a third party DNS service, for example, Cloudflare DNS. Just to be safe, disable IPv6 on the WiFi or Ethernet adapter too.
If you enjoyed this article please consider sharing it!