How does a VPN work? (2024)

How does a VPN work? (1)

Jump to:

  • 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.

How does a VPN work? (3)

ExpressVPN: my #1 VPN overall – get 3 months free
ExpressVPN does it all: it's incredibly quick, unblocks every streaming platform you can think of, and has easy-to-use apps that are ideal for VPN newbies.

Though it's not the 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.

Save 49% on ExpressVPN's 12-month plan

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.

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? (4)

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? (5)

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.

Get the BEST of Tom’s Guide daily right in your inbox: Sign up now!

Upgrade your life with the Tom’s Guide newsletter. Subscribe now for a daily dose of the biggest tech news, lifestyle hacks and hottest deals. Elevate your everyday with our curated analysis and be the first to know about cutting-edge gadgets.

How does a VPN work? (6)

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 we test VPNsVPN

Latest

Military Sleep Method vs Navy SEAL sleep technique to fall asleep fast: Which is best?
See more latest►

No comments yetComment from the forums

    Most Popular
    I just tried this 4-move kettlebell workout to build muscle all over — and it took only 20 minutes

    By Sam Hopes

    This iPhone accessory was a lifesaver during my Disney vacation

    By Mike Prospero

    7 Google Gemini prompt ideas to try this weekend

    By Ryan Morrison

    Forget sit-ups — this 5-move Pilates routine sculpts your core in just 7 minutes

    By Jessica Downey

    I flew 8,000 miles wearing Apple Vision Pro — here's what it's really like

    By Kate Kozuch

    I did 50 overhead walking lunges every day for one week — here’s what happened

    By Sam Hopes

    Forget the gym — chisel your upper body with just a kettlebell and 5 exercises

    By Jessica Downey

    I ditched the gym for home workouts — here’s 3 reasons I’m not going back

    By James Frew

    What is a futon mattress and are they healthy to sleep on long-term?

    By Rachael Penn

    You only need 25 minutes and a set of dumbbells to build full-body muscle and boost your metabolism

    By James Frew

    Forget running — 3 walking workouts that build lower body strength and burn calories

    By Sam Hopes

    How does a VPN work? (2024)

    FAQs

    How does a VPN work? ›

    A VPN works based on encryption, which hides the true meaning of information. This ensures data cannot be read unless someone unlocks it with a password, known as an encryption key. When using a VPN, the encryption key protecting a user's data and web activity is only known by their computer and VPN server.

    How does a VPN work for dummies? ›

    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 actually happens when you use a VPN? ›

    A VPN masks your IP address by acting as an intermediary and rerouting your traffic. It also adds encryption, or a tunnel around your identity, as you connect. The combination of the VPN server and the encryption tunnel blocks your ISP, governments, hackers, and anyone else from spying on you as you navigate the web.

    How does a VPN work with Wi-Fi? ›

    How does a VPN protect you on public Wi-Fi? A VPN protects your online activity by redirecting your internet connection through a private internet server — your real IP address is hidden, and your activity is obscured. Anyone trying to spy on you won't be able to see past the VPN's encryption protocols.

    What is VPN and how do you use it? ›

    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.

    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.

    Does a VPN hide your location? ›

    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.

    Why should you not always use a VPN? ›

    While people sometimes use VPNs to bypass geo restrictions or for malicious deeds, some websites block access if a user's VPN is on. In such cases, disabling a VPN might be necessary. Avoiding software conflicts. Some applications or services, such as online games or streaming services, may clash with a VPN.

    What does a VPN not hide? ›

    While a VPN masks your IP address and encrypts your internet traffic, it does not hide the type of device you are using. Websites can still gather device-specific information (including operating system, screen resolution and browser type) through methods like browser fingerprinting.

    What doesn't a VPN protect you from? ›

    You might use a VPN to hide your IP address and encrypt your online traffic. However, a VPN typically won't prevent you from clicking on suspicious links, downloading harmful programs, or being at risk from cybercriminals if you're on a public Wi-Fi network, for example.

    Are VPNs legal? ›

    Are VPNs legal to use? Yes, VPNs are legal in most countries around the world, including the US, Canada, and most of Europe. However, you might risk heavy fines or even imprisonment for using a VPN in a country that bans it, for example, North Korea or Iraq.

    How much does VPN cost? ›

    The average cost of a VPN typically ranges from $3 to $10 per month, depending on the subscription length and features offered.

    Is VPN worth getting? ›

    It's a common question, especially if you're unfamiliar with the benefits of using a VPN. Getting a VPN is valuable, especially if you prioritize online privacy and want all your internet activity, including communication between devices and servers, encrypted.

    Should I use a VPN at home? ›

    Yes, you need a VPN to protect your online activity, hide your IP addresses, and keep your data safe. A VPN should be the cornerstone of your online privacy and security at home, work, or public places.

    Is there a safe free VPN? ›

    Some free providers drop the kill switch, WireGuard, and maybe even support, but Proton VPN Free has all the core privacy features you need to stay safe online. There are still significant limits, however, as you can no longer choose where you connect to on Proton VPN's free plan.

    How do I use VPN for the first time? ›

    Download the app or specific software for your chosen VPN service on all of your devices. Log in to the account you made when signing up for the VPN service. Depending on what service you selected, you might be asked for a security key or two-step authentication code. Once in the app, connect to a VPN server.

    How do I setup a VPN? ›

    Set Up a VPN on an Android Device

    Go to “Settings” and from there click “Network & Internet” then “Advanced” and, finally, “VPN.” Click “Add VPN.” Fill out your VPN's “Name” and “Server” and hit save. Click on your newly added VPN profile and fill out the “Account” and “Password” fields then click “Connect.”

    When should I use VPN? ›

    VPNs offer the best online security, so keeping it on will protect you against data leaks and cyberattacks, especially while you're using public Wi-Fi. It can also safeguard against intrusive snoopers such as ISPs or advertisers. Always use a VPN when you go online.

    Top Articles
    Latest Posts
    Article information

    Author: Twana Towne Ret

    Last Updated:

    Views: 6283

    Rating: 4.3 / 5 (64 voted)

    Reviews: 95% of readers found this page helpful

    Author information

    Name: Twana Towne Ret

    Birthday: 1994-03-19

    Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

    Phone: +5958753152963

    Job: National Specialist

    Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

    Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.