A VPN, or virtual private network, creates an encrypted tunnel between your device and a server run by the VPN service or your employer. Your internet traffic travels through that tunnel and leaves from the server, so websites see the server's IP address instead of yours. It is a useful tool, but it is often sold as a magic shield. Using it properly starts with knowing exactly what it does and what it does not do.
A short history
VPNs began as business tools. In the 1990s companies needed a safe way to let employees reach internal networks over the public internet, and protocols such as PPTP and IPsec appeared. PPTP is now considered broken. OpenVPN, released in 2001, became the open-source standard for many years, and WireGuard, a much smaller and faster protocol, was added to the Linux kernel in 2020. Consumer VPN apps for privacy and travel became popular in the 2010s, and today most of them offer WireGuard or OpenVPN.
What a VPN protects
- Your traffic on untrusted networks: on public Wi-Fi in a café, hotel or airport, the network operator and other users cannot read or tamper with what passes through the tunnel.
- Your browsing from your internet provider: your provider sees that you connect to a VPN server and how much data you use, but not which sites you visit.
- Your IP address from websites: sites see the VPN server's address, which hides your approximate location.
- Access to private networks: a work VPN lets you reach internal company systems from home.
What a VPN does not do
- It does not make you anonymous. If you log in to an account, the service knows it is you. Cookies, browser fingerprinting and tracking scripts work through a VPN just as well.
- It does not remove trust, it moves it. The VPN provider can see the same metadata your internet provider used to see. You are choosing whom to trust.
- It does not stop malware or phishing. A fake login page is just as dangerous through a tunnel. You still need updates, strong unique passwords and two-factor authentication.
- It is not the only encryption. Most websites already use HTTPS, which encrypts the content between your browser and the site. If you run a site yourself, setting up HTTPS on your website protects your visitors whether they use a VPN or not.
Choosing a trustworthy service
Many providers exist, and you do not need a specific brand. Compare them on these points:
- Logging policy: look for a clear no-logs policy that has been checked by an independent audit, not just a marketing claim.
- Modern protocols: WireGuard, OpenVPN or IKEv2/IPsec. Avoid PPTP.
- Kill switch and leak protection: the app should block traffic if the tunnel drops and protect DNS and IPv6 requests.
- Ownership and jurisdiction: know which company runs the service and which country's laws apply to it.
- Business model: running servers costs money. A free VPN with no clear income may pay for itself by collecting or selling your data or showing ads. Prefer a reputable free tier from a known provider, or a paid plan.
For work, use only the VPN your employer provides and follow its policy.
Setting it up step by step
- Download the app only from the provider's official website or your device's official app store. Fake VPN apps are a known way to spread malware.
- Sign in and choose a protocol. If unsure, pick WireGuard or the app's recommended automatic setting.
- Turn on the kill switch and, if offered, the option to connect automatically on untrusted Wi-Fi.
- Choose a server. A nearby server is usually fastest; a distant one adds delay.
- Use split tunneling only if you understand it: it lets selected apps bypass the VPN, which is handy for a local printer but means those apps are unprotected.
Checking that it works
Before you connect, visit a "what is my IP" site and note the address and location. Connect, reload the page and confirm you now see the VPN server's address. Then run a DNS leak test: the DNS servers shown should belong to the VPN provider, not your internet provider. Finally, test the kill switch by disconnecting Wi-Fi briefly while the VPN is on and checking that nothing loads until the tunnel returns.
Common mistakes
- Forgetting to reconnect after the device wakes up or changes network.
- Assuming the VPN protects you while you log in with a weak, reused password.
- Accepting a public network's captive portal and then never turning the VPN on.
- Leaving the VPN app outdated; updates fix security bugs.
- Expecting full speed: encryption and distance always cost some performance.
Laws and service terms
Using a VPN is legal in most countries, but some restrict or ban unapproved services, and the rules change. Check the local laws where you live and where you travel. A VPN does not make an illegal activity legal. Websites and streaming platforms may also forbid using a VPN to bypass regional restrictions in their terms of service and can block or suspend accounts that do. Your school or workplace network may have its own rules too. Used honestly and within the rules, a VPN is a simple, effective layer of protection, especially on public Wi-Fi.