How to Set Up a VPN in Windows 10 (2024)

When you use a virtual private network, or VPN, you can rest assured that spies and advertisers aren't sniffing around your traffic, and it won't be intercepted by ne'er-do-wells, even if they're on the same network as you. While VPN companies provide apps to make setting up their products a breeze, that's not the only approach you can take. In fact, you can manually configure Windows 10 to use a VPN, as we'll explain—although you'll still need a subscription to a VPN service.

What Is a VPN?

In the beginning, the web was created. And it was pretty good, albeit lacking in critical privacy and security controls. Unfortunately, not much has changed since the words fiat web were spoken. Even though the more secure HTTPS is successfully becoming the standard for web browsing, it doesn't protect everything and won't guard against threats lurking on public Wi-Fi or your own network. That's why you need a virtual private network, or VPN.

When you switch it on, a VPN creates an encrypted tunnel between your device and a server controlled by the VPN service. Your web traffic travels through this tunnel, and it exits to the wide-open web from the VPN server to which you are connected. If there's someone lurking on your network or, worse, the owner of the access point has configured it to steal information, they won't see a thing. Even your ISP will be effectively blinded when it comes to monitoring your traffic.

How to Set Up a VPN in Windows 10 (1)

How to Set Up a VPN in Windows 10 (2) How a VPN Works

When you use a VPN, advertisers and three-letter agencies will have a harder time tracking you across the web. Because your web traffic appears to be coming from the VPN server, correlating it to you is much more difficult than if you didn't have a VPN.

The VPN server also hides your true location, because any observer monitoring your activities will see the VPN server's IP address and not your own. Your IP address is closely tied to your geographic location, so hiding it effectively prevents observers from figuring out where you are. You can even pretend to be somewhere else and spoof your location by connecting to a VPN in a different country. While journalists and activists in repressive countries have used VPNs to avoid censorship in this way, you can also use a VPN to stream Netflix from outside the US—assuming that Netflix hasn't already blocked your particular VPN.

VPNs are great, but they're not a cure-all for the security and privacy threats that ail the internet. While some VPNs boast of blocking malware, you should still use standalone antivirus. A VPN also won't do much to protect your passwords, either, although TunnelBear does offer the RememBear password manager in addition to its VPN product. Also, unless you're browsing HTTPS exclusively, you lose all the benefits of encryption once your traffic reaches the VPN server.

Do I Need to Set Up a VPN?

While you do need to set up any VPN you care to use on your Windows 10 computer, going through a manual set up process (as described in this piece) is entirely optional. All the VPN services we have tested thus far offer Windows applications that will handle the configuration for you. The apps also act as gateways to all of the VPN's features, such as switching between VPN servers, choosing different VPN protocols, and so on.

But although VPN apps have made setup a snap, some of you may prefer to do things the old-fashioned way and have Windows handle it for you. Or maybe you just like to tinker with your system. Or you might simply prefer not to have another app on your computer. Just know that if you get frustrated with the steps outlined below, there are apps out there that can take care of this for you.

What You Need to Get Started

First, you need to choose and sign up for a VPN service. No, you're not going to be using its apps, but you still need to access its servers. Ideally, you already have a VPN service that you are signed up for and using on all your other devices, be they PCs, phones, or tablets. But the truth is, PCMag's research shows that many of you aren't using a VPN. That's bad, but there's no judgment here, because you're reading this piece because you're about to start, right? If you do need to choose a VPN service, click the link in the first paragraph of this piece, read a few reviews, and pick the one that sounds right for you. Once that's done, come back here and continue.

The second thing you have to do is decide which VPN protocol you want to use. This is the setup that creates the encrypted tunnel. There are four main protocols supported by VPN companies: IKEv2/IPsec, L2TP/IPSec, OpenVPN, and PPTP.

Our preferred protocol is OpenVPN, which is newer and has a reputation for reliability and speed. IKEv2/IPSec is a solid second option and uses new, secure technology. Many VPN companies warn against L2TP/IPSec, which is not as secure as newer protocols. Generally, it's supported only for use on older, legacy systems. The same is true for PPTP, which you should avoid using if at all possible.

We highly recommend that you take a moment and look at the documentation for your VPN service of choice. The company will no doubt have extensive instructions, as well as direct links to the necessary information. For example, OpenVPN requires you to download a special client as well as configuration files. Configuring for IKEv2/IPSec may require you to install certificates. Depending on the company, you may have to generate a special username and password to connect via L2TP/IPSec, as well as a "shared secret" or "pre-shared key."

You also need a list of the servers available from the VPN company, and in some cases the URLs for those servers, too. Some companies, like CyberGhost and NordVPN ($3.09 Per Month + 3-Months Free (Up to 69% Off 2-Year Plan) at NordVPN) , have handy tools that help you select the best server and spit out all the necessary credentials. Again, it's going to depend on which service you use, so definitely search the FAQs and Help documents!

Configuring OpenVPN

When configuring your computer to use OpenVPN, the first thing you need to do is download the OpenVPN client. You can find it on the OpenVPN website. (Note: you want the OpenVPN app, not the PrivateTunnel app. They're different!) Once it's downloaded, just open the installer and step through until the Wizard has completed its work.

Next, you'll need to download the configuration files from the VPN company for the servers that you want to use. NordVPN, Private Internet Access, and TunnelBear each provide them as a single ZIP file, for example. Other companies may offer them one at a time. Regardless of how you get them, you'll likely want to consult a list or directory of the VPN service's servers that includes the location and server name, just in case you don't immediately recognize which server the configuration file (or files) represent.

You may have the choice between TCP and UDP configuration files. NordVPN, for instance, has both sets of files in separate folders. We suggest using TCP, but your situation may differ.

Once you have the OpenVPN config files you want, you need to load them into the OpenVPN client. The easiest way is to open the OpenVPN app, right click on its icon in the system tray, and select the Import option. Simply navigate to the configuration files you want and select one. Note that the first time you open the app, you'll see an error message indicating that the app has no configuration files. Don't worry, you'll fix that shortly.

Unfortunately, the import tool only lets you select one configuration file at a time. Alternatively, you can bulk load configuration files directly into the app. To do this, you'll have to navigate to the config folder within the OpenVPN application. We had some trouble finding the right directory to drop the files in testing. There are probably other ways to find it, but this is what worked the best for us.

First, open the OpenVPN app, and ignore any warnings that might pop up. Right click on its icon in the system tray, and select settings. In the window that appears, click the Advanced tab. In the Configuration Files section, copy the file path in the Folder field. Then, open File Explorer, paste the path into the address bar, and hit enter. You should now be in the Config folder.

Once you're there, drag-and-drop (or copy-and-paste) the OpenVPN configuration files you want to use into the Config folder. You may be prompted to provide administrator permissions to complete this action. Just press Continue. Once the configuration files are in place, you can close the file window and open the OpenVPN app normally.

Although the OpenVPN client is called a GUI, it barely has an interface. Right click on its icon in the system tray and you'll see a list of the available servers that you've already added. Again, it helps to load only the config files you know you'll use because the server names aren't particularly useful.

Select the server with which you wish to connect, and click. You'll be prompted for your VPN username and password. You'll have the option to save your password, and that's probably a good idea. And that's it! Within a few seconds, you'll be secure and online. You'll know the connection is successful when the OpenVPN app window disappears and its system tray icon glows green.

Recommended by Our Editors

How to Set Up and Use a VPN

Why You Need a VPN, and How to Choose the Right One

Do I Really Need a VPN at Home?

NordVPN and Private Internet Access both have very useful tutorials, as well as links to the necessary files and information you'll need. That said, we had some issues following them to the letter. TunnelBear's information is a little harder to find, and the company clearly wants you to use its (admittedly excellent) apps. However, a TunnelBear blogpost about Linux support should have most of the files and information to get online—although we have not attempted it.

Configuring IKEv2/IPSec

To set up an IKEv2/IPSec connection, you'll need a few things. First, you'll need the username and password of the VPN service you use. We recommend keeping it handy on your screen, so you can copy and paste it when the time comes.

Second, you'll need the name of a server with which you can connect. You can usually find a list of servers provided by your VPN service. NordVPN and CyberGhost both offer handy tools that will recommend servers to you, and even let you choose one based on specific criteria. The name of the server will be something like us2407.nordvpn.com.

Last, you'll likely need to download and install a certificate from your VPN service and then create a connection in Windows. We followed the instructions provided by NordVPN, which, though very complete, are quite lengthy. We highly recommend that you read these, or find an equivalent version from the VPN company you patronize.

A major advantage of configuring a VPN connection in this way is that your connection options it will appear in the Network tab of the menu that is accessed from the bottom right corner of your screen. You won't have to install and configure an app, as you must with OpenVPN, either. But you will have to go on a magical, tedious journey through Windows 10's myriad of settings menus.

Configuring L2TP/IPSec or PPTP

OpenVPN and IKEv2/IPSec are newer technologies that create secure VPN connections. L2TP/IPSec and PPTP are older and widely considered less secure. In fact, many VPN companies include notes on their tutorials for these protocols indicating that users should not, if they can help it, use them.

That said, because of their age these protocols are widely supported. If nothing else works, you could give them a try, but we're not going to detail their workings here, because we don't recommend them.

Is It Worth the Hassle?

The fact of the matter is that there's probably not a compelling reason to manually configure your VPN settings in Windows 10. When we started reviewing these services some years ago, not all of the VPN companies supported OpenVPN in their apps. In that scenario, it made sense to manually configure the OpenVPN app to connect. Now, however, just about every VPN maker supports VPN from its own app.

So unless you really enjoy the kind of system-level tweaking described so far in the piece, forget all the steps described above and just install the app from your VPN service. It takes only a few seconds, and it makes switching protocols and servers far, far easier than manual configuration. Moreover, VPN apps let you access additional features provided by your VPN company. Easy connection to the Tor network and specialty servers can be manually added, but VPN apps make it the work of just a few clicks.

Start Using Your VPN

Whether you install a VPN app or configure Windows 10 for VPN directly, use it as often as you can. Use it on the road, to keep the threats posed by free or public Wi-Fi at bay. Use it at home to ensure that your ISP can't monetize your data. Use it to secure your traffic from the eyes of those who you have not given consent to view your data.

Just use your dang VPN.

Like What You're Reading?

Sign up for SecurityWatch newsletter for our top privacy and security stories delivered right to your inbox.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

How to Set Up a VPN in Windows 10 (2024)

FAQs

How to Set Up a VPN in Windows 10? ›

Set Up VPN on Windows 10. Click the Windows Start button and select the Settings cog. Under Windows Settings, select Network & Internet. Select VPN from the left menu, then at the right, click Add a VPN connection.

How do I setup a free VPN on Windows 10? ›

Set Up VPN on Windows 10. Click the Windows Start button and select the Settings cog. Under Windows Settings, select Network & Internet. Select VPN from the left menu, then at the right, click Add a VPN connection.

Does Windows 10 have its own VPN? ›

Windows 10 has a built-in VPN client, but it doesn't function like an actual VPN service. Rather, you can use the Windows VPN client to connect to third-party VPN services, such as NordVPN.

Does Microsoft have a free VPN? ›

Edge Secure Network uses VPN technology to stop third parties and bad actors from accessing your sensitive information, so you can make purchases online, fill out forms, and keep your browsing activity away from prying eyes. And best of all, it's built in and free in Microsoft Edge.

How to create VPN? ›

Steps for setting up a VPN
  1. Step 1: Line up key VPN components. ...
  2. Step 2: Prep devices. ...
  3. Step 3: Download and install VPN clients. ...
  4. Step 4: Find a setup tutorial. ...
  5. Step 5: Log in to the VPN. ...
  6. Step 6: Choose VPN protocols. ...
  7. Step 7: Troubleshoot. ...
  8. Step 8: Fine-tune the connection.

Can you set up your own VPN for free? ›

Despite the drawbacks, there are a few benefits of using a free VPN, and you can even create your own VPN in Windows and the cloud. In this article, we will discuss how to set up a native VPN for free, as well as how to download a VPN and set it up on different devices at work or at home.

How do I create a free VPN for my computer? ›

Create a VPN for Free on Windows 11
  1. Open Network Connections. Click the Start icon, type 'Network Connections', and then click View Network Connections.
  2. Press Alt+F, and then choose New Incoming Connection…
  3. Select the user accounts you want to allow to connect to your computer via a VPN.

Is Windows 10 built in VPN good? ›

Windows 10's built-in VPN might not offer the same level of safety and security as third-party VPN services. Trustworthy VPN providers, like PureVPN, invest in advanced encryption and privacy features, ensuring a higher level of protection for your online activities.

Is Windows VPN safe? ›

VPNs don't give you protection against malware, or hackers who have already accessed your device. VPNs are meant to hide your true IP address and browsing activity from sites and your Internet Service Provider. If you're looking for device protection against malware, use anti-malware software, not a VPN.

How do I enable VPN always on Windows 10? ›

Create an Always On VPN client profile
  1. Sign in to the domain-joined VPN client computer as the VPN user you created in Create Active Directory test user.
  2. On the Start menu, type VPN to select VPN Settings. ...
  3. In the details pane, select Add a VPN connection.
  4. For VPN Provider, select Windows (built-in).
Jun 29, 2023

Does Microsoft have VPN? ›

In Windows, the built-in plug-in and the Universal Windows Platform (UWP) VPN plug-in platform are built on top of the Windows VPN platform.

Which VPN is completely free for PC? ›

Forbes Advisor Ratings
CompanyPricingData Limit
TunnelBearForever free2 GB
ProtonVPNForever freeNo limit
hide.meForever freeNo limit
WindscribeForever free10 GB per month
4 more rows
Apr 6, 2024

What is the best free VPN for Windows 10? ›

Yes, there are a few free VPNs that offer unlimited data on Windows. There are several unlimited VPNs in this list to choose from. Proton VPN is the best 100% free VPN without a data cap.

How do I use VPN for beginners? ›

Once you choose a VPN app for Mac or a VPN suitable for Windows, here's how to start using it:
  1. Download a reliable VPN. We recommend NordVPN, which is super easy to use on both Windows and Mac.
  2. Install the VPN app onto your computer.
  3. Connect to your preferred server.
  4. That's it – now you can start browsing safely.
Jan 12, 2024

Can I set up a VPN at home? ›

How to set up a VPN on your router
  1. Log into your router. You can access your router configuration panel by entering your router's IP address in your browser's URL bar. ...
  2. Look for the “VPN client” tab in the advanced settings of your router. ...
  3. Follow your VPN client's guidelines to set up the VPN on your router.
Jan 12, 2024

Can I make a VPN myself? ›

Yes, making your own VPN can be cheaper than subscribing to a commercial VPN service. However, there are some factors to consider before making your own VPN, such as the cost of the hardware, the time required to set it up, and the level of security and privacy you need.

What type of VPN is built-in Windows 10? ›

Windows 10 supports the PPTP, L2TP/IPsec, SSTP, and IKEv2 protocols. If you're hoping for OpenVPN, you have to separately install the OpenVPN client. And, if you want to try the new WireGuard protocol, you have to use a VPN client with WireGuard support, such as Private Internet Access.

Does Windows have a built-in VPN server? ›

In Windows, the built-in plug-in and the Universal Windows Platform (UWP) VPN plug-in platform are built on top of the Windows VPN platform. This article focuses on the Windows VPN platform clients and the features that can be configured.

Do I have a VPN on my computer? ›

PC: Check under your WiFi settings, to see if there is a VPN/proxy showing up. Mac: Check your top status bar. If you have a VPN/proxy set up, there will be a black box with four grey lines and one white line. If you cannot see this box, you do not have a VPN set up.

References

Top Articles
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 6017

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.