ResidentialIPs.org

Glossary Privacy and security

VPN (Virtual Private Network)

By the ResidentialIPs Editorial TeamUpdated

VPN: A VPN (virtual private network) encrypts all of a device's traffic and sends it through a tunnel to a VPN server, which then connects to the internet on your behalf, so websites see the VPN server's IP.

Also called: virtual private network, VPN service

Key takeaways

  • A VPN covers the whole device, not individual apps or requests.
  • The tunnel between you and the VPN server is encrypted.
  • Most consumer VPN servers use datacenter IPs that IP databases flag as VPN.
  • VPNs suit personal privacy on untrusted networks; proxies suit data collection and many parallel identities.
  • Business VPNs connect remote staff to private company networks, a different use altogether.

What is a VPN?

A VPN creates an encrypted tunnel from your device to a VPN server. Every packet your device sends, from browsers, apps and the operating system, goes through the tunnel. The VPN server decrypts it and sends it on to the internet from its own IP. Replies come back the same way. Common protocols include WireGuard, OpenVPN and IKEv2/IPsec.

There are two broad kinds. Consumer VPNs are services for privacy and changing your apparent location. Corporate or site-to-site VPNs connect employees or offices to a private company network. This entry focuses on the first.

VPN vs proxy

VPNProxy
ScopeWhole deviceOne app, profile or request
Encryption to the serverAlwaysNot by itself
Exit IPs per deviceOne at a timeMany at once
IP typesMostly datacenterResidential, ISP, datacenter, mobile
Typical protocolsWireGuard, OpenVPN, IPsecHTTP, SOCKS5
Typical usersIndividuals, remote workersData, marketing and QA teams

Why websites flag VPN IPs

Consumer VPN servers sit in data centers and are shared by thousands of users. IP intelligence vendors maintain lists of VPN exits, so many websites, streaming services and banks recognise them instantly and apply stricter checks. That is why businesses that need traffic to look like ordinary home users choose residential or ISP proxies instead.

When a VPN is the better tool

  • Protecting your own browsing on public Wi-Fi.
  • Hiding your activity from your ISP or local network.
  • Accessing a company’s internal systems.
  • Simple personal use where one IP at a time is enough.

Common VPN leaks

Even with a VPN, your real location can leak through DNS queries that bypass the tunnel, WebRTC, IPv6 traffic when the VPN only handles IPv4, or a dropped connection without a kill switch. Test with leak checkers after connecting.

How a VPN connection works

  1. The VPN app on your device authenticates with a VPN server.
  2. The two sides agree on encryption keys and create a tunnel, using a protocol such as WireGuard, OpenVPN or IPsec.
  3. Your operating system routes all traffic, or selected traffic with split tunnelling, into that tunnel.
  4. The VPN server decrypts it and sends it to the internet from its own IP.
  5. Replies come back to the VPN server, which encrypts them and sends them down the tunnel to you.

To your local network and ISP, the traffic looks like one encrypted stream to the VPN server. To websites, it looks like it comes from the VPN server.

Business VPNs and consumer VPNs

The word covers two different products. A business or site-to-site VPN connects staff or offices to a private company network so they can reach internal systems. A consumer VPN connects you to a provider’s servers so your traffic exits somewhere else on the public internet. When people compare VPNs with proxies, they mean the consumer kind.

Choosing a VPN responsibly

  • Read the provider’s logging policy and look for independent audits.
  • Prefer modern protocols such as WireGuard or well-maintained OpenVPN and IPsec setups.
  • Check for a kill switch that blocks traffic if the tunnel drops.
  • Test for DNS and WebRTC leaks after connecting.
  • Be wary of free VPNs. Running servers costs money, and some free services make it back by collecting or selling data.

VPN protocols compared

ProtocolNotes
WireGuardModern, fast, small codebase, widely supported
OpenVPNMature and flexible, slower than WireGuard
IPsec / IKEv2Built into many operating systems, reconnects well on mobile

Frequently asked questions

Is a VPN better than a proxy?

For protecting all of your device’s traffic on an untrusted network, yes. For running many separate sessions, choosing residential IPs or collecting data at scale, proxies are more flexible.

Can I use a VPN and a proxy together?

Yes. Traffic from an app configured with a proxy can travel through the VPN tunnel to the proxy. It adds latency and rarely helps business tasks.

Do VPNs use residential IPs?

Most consumer VPNs use datacenter IPs. A few offer residential or “static residential” exits at extra cost.

In most countries, yes. Some countries, including China and Russia, restrict VPNs that are not approved by the state.

Does a VPN hide my browsing from websites?

It hides your IP and location. Websites can still recognise you through cookies, logins and browser fingerprinting, just as with a proxy.

Can a VPN make me look like I am in another country?

Yes, websites see the VPN server’s location. Many streaming and banking sites detect VPN IPs and may block or challenge them.

Sources and further reading

Browse all 40 glossary terms Markdown version