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? ›

Create a VPN profile
  1. Select Start > Settings > Network & internet > VPN > Add VPN.
  2. Under Add a VPN connection, do the following: For VPN provider, choose Windows (built-in). In the Connection name box, enter a name you'll recognize (for example, My Personal VPN). ...
  3. Select Save.

How to setup a VPN for dummies? ›

How to Use a VPN?
  1. Download and install the PureVPN app on your chosen device.
  2. Log in using the VPN credentials provided to you through email.
  3. Select your preferred Mode (Stream, Internet Freedom, Security/Privacy, File-Sharing, or Dedicated IP).
  4. Connect to any server location.
  5. Hop on the Internet and you're set to go!
Jan 1, 2024

How do I set up always on VPN Windows 10? ›

Create VPN User and Group
  1. On the domain controller, open Active Directory Users and Computers.
  2. Under your domain, right-click Users. Select New. ...
  3. Choose a password for the user.
  4. Deselect User must change password at next logon. Select Password never expires.
  5. Select Finish. Keep Active Directory Users and Computers open.
Mar 14, 2023

How do I setup a good 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.

Is there a free VPN for Windows 10? ›

Browse securely with Proton VPN — the free, unlimited VPN you can trust. Available for Windows 7, 8, 10, and 11.

How do I setup 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

How do I setup a VPN on my PC? ›

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 VPN works step by step? ›

When the user connects to the web using their VPN, their computer submits information to websites through the encrypted connection created by the VPN. The VPN then forwards that request and sends a response from the requested website back to the connection.

Can you explain VPN in simple terms? ›

A VPN, which stands for virtual private network, establishes a digital connection between your computer and a remote server owned by a VPN provider, creating a point-to-point tunnel that encrypts your personal data, masks your IP address, and lets you sidestep website blocks and firewalls on the internet.

What is the VPN feature on Windows 10? ›

A virtual private network (VPN) connection on your Windows 10 PC can help provide a more secure connection and access to your company's network and the internet—for example, when you're working in a public location such as a coffee shop, library, or airport.

What is required for always on VPN? ›

However, Always On VPN requires clients to run Windows 10 or higher, which might not be an option in environments that need to support older Windows OSes or non-Windows clients. Also, Always On VPN is not compatible with Azure VMs.

How do I force VPN? ›

To force all network traffic through an always-on VPN, follow these steps on the device:
  1. Open your device's Settings app.
  2. Tap Network & internet. Advanced. VPN.
  3. Next to the VPN that you want to change, tap Settings.
  4. Switch Block connections without VPN to on.

Are VPNs easy to set up? ›

“VPN” might sound technical, but with ExpressVPN, it's a breeze. There are no network configurations to mess with. You won't need to wrestle with settings on your Mac, PC, or mobile device (smartphone or tablet). In fact, you don't need any computer skills at all.

Are VPNs difficult to set up? ›

Getting your VPN up and running is nice and simple, and there's only a little variance between apps and devices. Generally, all you need to do is download the app from the provider's site or app store and let it do the rest—you only need to dig into the advanced configuration options if you want to.

How to setup VPN for free? ›

Setting up a VPN in Android
  1. Head into Settings > Network & Internet > Advanced > VPN (you should see a little key icon). ...
  2. If you happen to be setting this up on a new phone, or if you haven't yet set a screen lock or password, Google will prompt you to first set one for your phone. ...
  3. Now create your VPN profile.
Mar 1, 2019

Does Windows have a built in 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 offer a VPN? ›

Microsoft is one of many browsers that offer some kind of VPN service. Opera comes with a free one as well, but more popular browsers like Mozilla only offer a paid VPN service, as does Google Chrome, thereby potentially help improving Edge's value proposition.

What is a VPN and how does it work? ›

The VPN acts as an intermediary between the user getting online and connecting to the internet by hiding their IP address. Using a VPN creates a private, encrypted tunnel through which a user's device can access the internet while hiding their personal information, location, and other data.

Are VPNs free? ›

For the most part, you'll have to pay for any service worth using, except when it comes to VPNs. That's right – there are plenty of VPN providers out there that offer free versions of their products, free trial periods, and money-back guarantees that make using their service risk free. We've listed our favorites below.

Top Articles
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 5924

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.