How does a VPN work? (2024)

How does a VPN work? (1)

Jump to:

  • Top 3 VPNs in 2024
  • What does a VPN do?
  • What is VPN encryption?
  • What are VPN protocols?
  • How do VPNs unblock streaming sites?
  • How VPNs work – in a nutshell
  • Industry rankings
  • FAQs

Quick links

1. What does a VPN do?
2.
What is VPN encryption?
3.
What are VPN protocols?
4.
How VPNs unblock streaming sites
5.
VPNs in a nutshell
6.
Industry rankings
7.
FAQs

More and more people are using virtual private networks (VPNs) to improve their online security and privacy – which isn't surprising when you consider how many opportunistic cybercriminals are out there. VPNs encrypt your personal data, secure the Wi-Fi networks you use, and even protect against hackers.

That's not all, though – the best VPNs also allow you to unblock geo-restricted online content, stop bandwidth and data throttling, find the cheapest deals on the internet, and so much more. However, you might still be wondering how a VPN does all of this – and you're not alone.

VPNs use a lot of crucial tech, like encryption and protocols, that you might not be familiar with (unless you’re an undercover tech expert). Here, I'll explore how VPNs work and suggest a few of my personal favorites.

Written by

How does a VPN work? (2)

Written by

River Hart

River helps take care of cybersecurity content on Tom's Guide – ranging from breaking news pieces, reviews, and buying guides.

Top 3 VPNs in 2024

1. <a href="http://go.nordvpn.net/aff_c?offer_id=564&url_id=10992&aff_id=3013&aff_click_id=hawk-custom-tracking&aff_sub2=hawk-article-url" data-link-merchant="go.nordvpn.net"" target="_blank" rel="nofollow">My #1 VPN overall: NordVPN

NordVPN is super secure, fast and unblocks just about every streaming service you can think of. All this, plus all its added extras makes it the best VPN overall.

You can choose to just sign up to the VPN, or upgrade your subscription to give you an internet security suite, with secure cloud storage, a password manager and even cyber insurance. You'll also get a 30-day money-back guarantee on all plans, and if you subscribe now you'll even get a free Uber Eats voucher – tasty.

View Deal

How does a VPN work? (4)

2. <a href="https://go.expressvpn.com/c/4550836/1330033/16063?subId1=hawk-custom-tracking&sharedId=hawk&u=https%3A%2F%2Fwww.expressvpn.com%2Foffer%2Frecommended-deal%3Foffer%3D3monthsfree" data-link-merchant="expressvpn.com"" target="_blank" rel="nofollow">The best VPN for beginners: ExpressVPN
ExpressVPN is great for those new to VPNs, with apps that are easy to use. It can also unblock any streaming platforms you can think of, and has great connection sppeds.

Though it's not the <a href="https://www.tomsguide.com/best-picks/cheap-vpn" data-link-merchant="tomsguide.com"" data-link-merchant="expressvpn.com"">cheapest VPN available, you can try ExpressVPN for yourself with a 30-day money-back guarantee, and bag an extra 3 months free, and a year of free backup software from Backblaze, when you sign up for a 12-month plan.

<a href="https://go.expressvpn.com/c/4550836/1330033/16063?subId1=hawk-custom-tracking&sharedId=hawk&u=https%3A%2F%2Fwww.expressvpn.com%2Foffer%2Frecommended-deal%3Foffer%3D3monthsfree" data-link-merchant="expressvpn.com"" data-link-merchant="tomsguide.com"" data-link-merchant="expressvpn.com"" target="_blank" rel="nofollow">Save 49% on ExpressVPN's 12-month plan

3. <a href="http://get.surfshark.net/aff_c?offer_id=61&aff_sub3=i%3Dbest&aff_id=1691&aff_click_id=hawk-custom-tracking&aff_sub2=hawk-article-url" data-link-merchant="get.surfshark.net"" target="_blank" rel="nofollow">Our top pick for a cheap VPN: Surfshark
Surfshark gives you excellent privacy and super fast connection speeds for a very friendly price, making it a great choice for you if you're more budget-conscious.

Not only this, but it offers servers in 100 countries, allowing you to access your favourite content no matter where you are. Plus, it's currently costs just $2.29 per month, with 2 months free.

View Deal

What does a VPN do?

There are a lot of VPNs available on the market, but they all work in pretty much the same way. As I mentioned earlier, VPNs are software-based tools that provide an end-to-end encrypted tunnel between your device and a VPN server. This routes your traffic away from your internet service provider's (ISP) servers and through its own.

In this tunnel, any web traffic sent to and from your computer is encrypted, all the time. A VPN will also hide your internet protocol (IP) address. This means that cybercriminals, government agencies, your ISP, and other nosy third parties won’t be able to intercept your personal data, track what you're doing online, or determine your location.

It's also worth noting that VPNs know how to have fun, too. Most services have a global network of servers – connect to one, and you can spoof your location to bypass geo-restrictions and unblock online content that would normally only be available in a specific country. I'll cover this topic in more detail a little later – but, basically, VPNs are a streamer's best friend.

What is VPN encryption?

One of the most important functions of VPNs is their ability to encrypt personal data and web traffic. Using encryption technologies, VPNs ensure that credit card numbers, passwords, messages, transaction history, browsing data, and other sensitive information travels through an encrypted tunnel in undecipherable code.

Sign up to get the BEST of Tom’s Guide direct to your inbox.

Upgrade your life with a daily dose of the biggest tech news, lifestyle hacks and our curated analysis. Be the first to know about cutting-edge gadgets and the hottest deals.

How does this work in practical terms? Well, if you log into your email account, the request will be communicated to the VPN service. After establishing a connection between your device and the VPN server, the VPN then sends your login request to the VPN server through an encrypted tunnel.

Once your request lands on the VPN server, it sends the data to your email provider's server, still encrypted. The email grants the request and returns the data back to the VPN server. At this point, the VPN server also re-encrypts the data and sends it to the VPN service, where the data is deciphered and passed on, finally, to your device. It's sort of like a digital relay race – and your data is the baton.

This might seem like a long and complicated ordeal, especially as your data is encrypted and decrypted at every step of the process, but Surfshark points out that every step "happens in a second" – and sometimes "in a fraction of a second" if you have a fast internet connection. Plus, the majority of VPNs use one of the most robust encryption methods available: AES-256.

How does a VPN work? (6)

What are VPN protocols?

Another important piece of the VPN puzzle are the protocols. Essentially, they're commands and processes that decide how web traffic travels from one server to another within an encrypted tunnel.

There are lots of VPN protocols out there, but the most common are:

  • Secure Sockets Layer (SSL)
  • Transport Layer Security (TLS)
  • Point-to-Point Tunneling Protocol (PPTP)
  • IP Security (IPSec)
  • Internet Key Exchange (IKEv1 or IKEv2)
  • Layer 2 Tunneling Protocol (L2TP)
  • WireGuard
  • OpenVPN

VPN services are constantly evolving, though, and protocols become outdated as quickly as new ones enter the picture. NordVPN believes every protocol is imperfect, explaining that "each may have potential vulnerabilities, documented or yet to be discovered, that may or may not compromise your security".

Unpacking protocols

NordVPN says every protocol provides a "different solution to the problem of secure, private, and somewhat anonymous internet communication".

Most of today's top VPN providers use OpenVPN and WireGuard as their protocols of choice seeing as they’re highly secure and generally pretty fast. VPNs allow users to switch protocols too – so, if you prefer one over the other, it's not a problem. All you'll need to do is head into the settings menu of your VPN app and make your choice.

Being aware of these different protocols is important because they often determine the overall speed, security, and privacy of your VPN service. Using an outdated VPN protocol could put your data at risk.

Basically, OpenVPN, WireGuard, and proprietary protocols like ExpressVPN's LightWay and Hotspot Shield's Catapult Hydra are widely regarded as safe, with IKEv2 also being useful for mobile VPN apps. Other protocols have their uses, sure, but if you're using a modern VPN (and you want the best balance of speed and security), you'll want to stick with these tried and tested options.

How do VPNs unblock streaming sites?

VPNs can do way more than just encrypt your data, however. You'll also be able to access all sorts of streaming platforms, and their region-locked libraries, without being hampered by pesky geo-restrictions.

Want to learn more?

Check out our guide to the best Netflix VPNs to see which provider is your best streaming buddy.

The how is pretty straightforward. Most premium VPNs have thousands of servers dotted across the globe. Take your pick of these servers, connect to one, and you'll be given a new IP address based in that same location. This is what fools sites into thinking you're there, too, and means you’ll be able to access country-specific services.

For example, if you're in the UK and want to check out what’s on US Netflix, you'll need to connect to a VPN server in the US. Then, reload Netflix, and the site will see that you're connecting from a US IP address and think you're in the States, too. You'll be served up all the best American Netflix content on a platter – simple.

How VPNs work – in a nutshell

A VPN redirects your traffic away from your ISP's servers, sending it through its own servers, instead. At the same time, the VPN encrypts the traffic, ensuring that nobody can read it even if it's intercepted.

VPNs use several protocols to transfer your data, with OpenVPN and WireGuard considered today's gold standards.

While VPNs primarily protect your sensitive data, plenty of people use them to unblock streaming content from around the world, too. This is possible thanks to global networks of servers, owned by a particular VPN provider. You can join a server overseas, be assigned an IP address in the same location, and trick sites into thinking you're physically, there, too.

Tom's Guide VPN rankings

There are a lot of VPNs on the market – and putting them all to the test would take more time than anyone realistically has. Luckily, that's exactly what we do here at Tom's Guide. Me and the rest of the team have ranked the industry's top providers (and some honorable mentions) in the table below.

Swipe to scroll horizontally

ProviderHeader Cell - Column 1 Summary
1. NordVPN⭐⭐⭐⭐½An all-in-one security solution that can't be beaten when it comes to sheer speed and ease of use.
2. ExpressVPN⭐⭐⭐⭐½Handy automations and one-click connect make ExpressVPN a great pick for beginners.
3. Surfshark⭐⭐⭐⭐½The best budget-friendly VPN available today, jam-packed with features and able to unblock most streaming sites.
4. Private Internet Access⭐⭐⭐⭐½Ideal for Linux users, thanks to a dedicated GUI, and a no-logs policy that has been proven in court twice.
5. Proton VPN⭐⭐⭐⭐A staunch champion of digital privacy, Proton VPN offers battle-tested security tools and a reliable free plan.
6. CyberGhost⭐⭐⭐⭐A speedy service with sleek apps for all devices, and a solid all-rounder that won't disappoint.
7. Windscribe⭐⭐⭐⭐If you're looking for a free plan, Windscribe delivers with tough encryption and a lightweight Chrome extension.
8. IPVanish⭐⭐⭐⭐IPVanish can't quite keep up with my top picks, but still packs a punch when it comes to safeguarding your day-to-day browsing.
9. Mullvad⭐⭐⭐⭐Although it's not a great pick for streaming, Mullvad is a privacy-oriented VPN and a cornerstone of the industry.
10. Hide.me⭐⭐⭐⭐With plenty of settings to customize, stylish apps, and fair prices, Hide.me is a VPN you'll want to keep an eye on.

FAQs

How do VPNs keep me safer online?

So, a VPN boosts your security when you're online by encrypting the data you send, keeping it safe from prying eyes. Your ISP can see that you're connected to a VPN (or, at least, that you’re connected to an encrypted server somewhere), but the data traveling through its systems will be encrypted, so the ISP won't be able to make any sense of it.

As a result, your ISP won't be able to leverage your data for its own ends – like selling it on to advertisers or giving up details to authorities if requested.

VPNs can also keep you safe when using unsecure public Wi-Fi hotspots – the kind you find in hotels, cafes, and airports. These hotspots are handy, sure, but they lack security measures, making them hotbeds of cybercriminal activity. With a VPN, though, your data will remain encrypted and unreadable to nefarious hackers.

Are VPNs illegal?

The short answer is: no. VPNs are perfectly legal in the vast majority of countries – but there are a few exceptions. Some regimes have banned VPNs, with China being the obvious example that springs to mind, but even in this case, it's unclear how this might be enforced, particularly in the case of, say, a traveler using a VPN when visiting the country. There are no reports of any visitor ever being arrested for using a VPN in China.

The main takeaway here is that any activities that are illegal when you’re not using a VPN are still illegal when you are.

What can’t a VPN hide?

A VPN can keep your internet traffic safe from snoopers, but there are a few things that it can’t disguise entirely – like the device you're using. Sites can use browser fingerprinting to collect data about your operating system and browser type to pinpoint your device type.

What's more, your VPN provider itself can, potentially, check out what you do online. Some services log your activity – which, obviously, is less than ideal. To avoid this, you'll need to choose a secure VPN that sticks to a no-logs policy – which prevents it from holding on to information about your browsing.

How do sites know I’m using a VPN?

The IP addresses that a VPN gives you, when you connect to one of its servers, are shared amongst its user base. That means that you could, in theory, be assigned the same IP address as someone else. The shared nature of these addresses means that some sites have wised up to the fact that they belong to VPNs – and then, unfortunately, they block them.

This isn't always the case, though, seeing as most sites won't care too much if you’re using a VPN. Besides, blocking, banning, or otherwise acting against everyone with a VPN would be a massively expensive and time-consuming process.

Edited by

How does a VPN work? (7)

Edited by

Mo Harber-Lamond

I've been in charge of Tom's Guide's VPN articles since 2020, and in that time I've helped test and review over 100 VPN providers for both Tom's Guide and TechRadar. I strongly believe that privacy, price, and ease of use all go hand in hand to make the very best VPN.

I've covered cybersecurity and tech in TechRadar, T3, and What Hi-Fi?, and you'll also find my work in titles from Watkins Publishing, and even the halls of the Metropolitan Museum of Art.

Disclaimer

We test and review VPN services in the context of legal recreational uses. For example:

1. Accessing a service from another country (subject to the terms and conditions of that service).

2. Protecting your online security and strengthening your online privacy when abroad.

We do not support or condone the illegal or malicious use of VPN services. Consuming pirated content that is paid-for is neither endorsed nor approved by Future Publishing.

How does a VPN work? (8)

River Hart

Tech Software Editor

River is a Tech Software Editor and VPN expert at Tom’s Guide—helping take care of VPN and cybersecurity content, publish breaking news stories, and ensure all of our VPN testing is as accurate as possible. When they’re not following the ins and outs of the VPN world, River can be found plugged into their PS5 or trekking through the Welsh countryside in a very practical, but unfortunately unfashionable, waterproof jacket.

More about vpns

How to use software to get the most out of your new iPhoneHow we test VPNs

Latest

Dwars door Vlaanderen 2024 live streams: How to watch cycling online from anywhere
See more latest►

No comments yetComment from the forums

    Most Popular
    You don’t need the gym to build a stronger chest — just a pair of dumbbells and these 5 moves

    By Jessica Downey

    I tried the 2-minute L-Sit exercise every day for one week — here are my results

    By Sam Hopes

    You don’t need barbells to sculpt strong leg muscles — try these 5 dumbbell exercises for beginners

    By Sam Hopes

    I tried a week of gratitude runs to boost my well-being — here's 3 ways it changed my training

    By Jessica Downey

    Who says the iPhone 16 can't be an action cam? These are the GoPro features I want Apple to copy

    By John Velasco

    I finally managed my first pull-up —here's what happened to my body

    By Lucy Gornall

    I tried charging a Ford F150 Lightning at a Tesla supercharger station — and it didn't go as planned

    By John Velasco

    I tried NordicTrack’s Select-a-Weight dumbbells — 5 things that surprised me

    By Dan Bracaglia

    Midrange phones compared: OnePlus 12R vs Samsung Galaxy A55 vs Pixel 8a vs Nothing Phone 2a

    By Philip Michaels

    7 great Google Gemini AI prompts to try this weekend

    By Ryan Morrison

    This Pilates wall workout builds a stronger core and improves your posture in just 20 minutes —here's how

    By Becks Shepherd

    How does a VPN work? (2024)

    FAQs

    How does a VPN actually work? ›

    A VPN connection establishes a secure connection between you and the internet. Via the VPN, all your data traffic is routed through an encrypted virtual tunnel. This disguises your IP address when you use the internet, making its location invisible to everyone. A VPN connection is also secure against external attacks.

    What is a VPN simple answer? ›

    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.

    How does VPN work for dummies? ›

    What exactly does a VPN do? A VPN application hides your IP address and online activity from monitoring by routing your traffic through encrypted VPN servers. This means that your online activity is kept secure and private from third-parties, and anyone who might want to monitor what you're doing online.

    How does stuff work on a VPN? ›

    The VPN uses "virtual" connections routed through the internet from the business's private network or a third-party VPN service to the remote site or person. VPNs help ensure security — anyone intercepting the encrypted data can't read it.

    How does get VPN work? ›

    GET VPN uses Tunnel mode of IPSec, but instead of using the tunnel endpoints in the new IP header, it reuses the original IP header as the new Tunnel header (much like IPSec Transport mode).

    How do I actually use VPN? ›

    The basic process for using a VPN is to install a VPN app on your device, fire it up, log into your account and select a server. For the fastest speeds, you'll typically want to choose a server geographically nearby, but for accessing region-specific content, pick a VPN server in your desired country.

    How do you explain VPN to a child? ›

    VPN is short for Virtual Private Network. It's main security function is privacy protection. The privacy obtained through this private network is one of the reasons VPN's get a bad name. However, when it comes to cyber security, personal privacy protection is a cornerstone of Internet safety.

    Are VPNs legal? ›

    In most jurisdictions, the use of VPNs is legal. Some countries such as the U.S. and the U.K. allow citizens to use these tools to protect their online privacy and access geo-restricted content. In contrast, many countries ban VPNs as part of broader efforts to control internet access and suppress dissenting voices.

    What is VPN in one sentence? ›

    VPN stands for "virtual private network" — a service that helps you stay private online by encrypting the connection between your device and the internet.

    How does VPN work without internet? ›

    You can't use a VPN without an internet connection, because a VPN can only encrypt and route your traffic through its servers if it's connected to the internet. In other words, a VPN connection requires internet connection.

    How does VPN track you? ›

    Can you be tracked with a VPN? You can't be tracked using a VPN because it encrypts your data. As a result, your ISP or bad actors can't get any information out of your traffic. They only see the VPN server's IP address, while your real IP and online activities stay hidden.

    How does a VPN work and is it legal? ›

    It's acknowledged that VPNs have legitimate purposes, such as securing your data on public Wi-Fi and providing privacy. Nonetheless, while VPNs are legal, activities that are illegal without a VPN remain unlawful when done using one, such as accessing pirated content. Privacy Act.

    How does VPN actually work? ›

    A VPN masks a user's true location to the one they set their VPN to. This enables them to access content or websites typically restricted to that region. For example, a user in the U.S. can set their location to the United Kingdom and watch content from streaming websites aimed at British audiences.

    Can people see what you do on a VPN? ›

    A VPN encrypts your traffic and hides your IP address. As a result, it also hides your location, browsing history, searches, downloads, and any other activities, such as gaming or streaming. A VPN hides this information from bad actors, ISPs, websites, and even oppressive governments.

    Can I watch anything with a VPN? ›

    Streaming availability: Many VPN providers will transparently publish what streaming services work through their connections. Some of the most popular streaming services -- such as Netflix and Disney+ -- will typically work on most, although you may not have access to all geolocked content libraries.

    Can you be tracked if you use VPN? ›

    Can you be tracked with a VPN? You can't be tracked using a VPN because it encrypts your data. As a result, your ISP or bad actors can't get any information out of your traffic. They only see the VPN server's IP address, while your real IP and online activities stay hidden.

    Can people see you on a VPN? ›

    A VPN protects you during torrenting by masking your real IP address with the one from the VPN server. This makes it extremely difficult for anyone to see your real IP address and location.

    Is using a VPN really private? ›

    Using a reliable virtual private network (VPN) can be a safe way to browse the internet. VPN security can protect from IP and encrypt internet history and is increasingly being used to prevent snooping on by government agencies. However, VPNs won't be able to keep you safe in all scenarios.

    Can the police track a VPN? ›

    Whether police can track VPN traffic is a common concern among users seeking online privacy. The truth is: the police can't monitor encrypted VPN traffic. However, they can ask your Internet Service Provider (ISP) to provide connection or usage logs through a court order, which can lead them to your VPN provider.

    References

    Top Articles
    Latest Posts
    Article information

    Author: Dong Thiel

    Last Updated:

    Views: 5828

    Rating: 4.9 / 5 (59 voted)

    Reviews: 82% of readers found this page helpful

    Author information

    Name: Dong Thiel

    Birthday: 2001-07-14

    Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

    Phone: +3512198379449

    Job: Design Planner

    Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

    Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.