What a VPN does and why you need one

A VPN (Virtual Private Network) encrypts the traffic leaving your device so that your internet service provider, the websites you visit, and anyone on your WiFi network cannot see what you are doing online. When you connect to a VPN, your real IP address is hidden and replaced with the VPN provider's address, so websites see the VPN server's location instead of yours.

On a home network, a VPN protects you in two situations: when you use public WiFi away from home, and when you want to prevent other people on your home network from seeing your browsing. It does not make you anonymous — the VPN company itself can see your traffic — but it stops casual snooping by neighbors, guests, or your internet provider.

A VPN is different from the security you get from HTTPS websites (the lock icon in your browser). HTTPS encrypts only the content of the page itself. A VPN encrypts everything: the domain name you visit, the size of files you read, and how long you stay on a site.

Key Takeaways

  • You can connect a VPN on your individual device (phone, laptop, tablet) by downloading an app or configuring it in settings, which protects only that device.
  • You can also connect a VPN at the router level, which protects every device on your network at once, though this requires your router to support VPN and may slow your connection.
  • Most VPN services charge a monthly fee; free VPNs exist but often sell your data or limit your speed and data usage.
  • After you connect, test that the VPN is actually working by visiting a site that shows your IP address, such as whatismyipaddress.com.
  • Connecting to a VPN may slow your internet speed by 10 to 40 percent depending on the VPN server's distance and how busy it is.

Connecting a VPN on a single device (phone, laptop, or tablet)

The easiest way to use a VPN is to install it on one device at a time. You choose a VPN provider, read their app, sign in, and tap or click to connect. This protects only that device — other devices on your network are not affected.

Most VPN providers (ExpressVPN, NordVPN, Surfshark, ProtonVPN, and others) offer apps for Windows, Mac, iPhone, and Android. read the app from the official website or your device's app store, create an account, and open the app. You will see a list of server locations. Select one — usually your home country is fastest — and tap the connect button. A lock icon or notification will appear when you are connected.

On Windows or Mac, you can also set up a VPN without an app by using built-in settings. Go to Settings > Network & Internet > VPN (Windows) or System Preferences > Network > VPN (Mac), click Add, and enter the VPN details your provider gives you. This method works but is slower to connect and disconnect than using an app.

Connecting a VPN at your router

If you want every device on your home network protected by a VPN at once — without installing an app on each phone, laptop, and tablet — you can set up a VPN on your router itself. This is called a VPN gateway or router-level VPN. When you do this, all traffic from all devices passes through the VPN before leaving your home.

Not all routers support VPN. Check your router's manual or the manufacturer's website to see if it has a VPN option in its settings. Routers from Asus, Netgear, TP-Link, and Ubiquiti often include VPN support. If your router does not support it, you can buy a router that does, or use a device like a Raspberry Pi or a small computer to run VPN software for your network.

To set up a VPN on your router, log into the router's admin panel (usually 192.168.1.1 or 192.168.0.1 in your browser), find the VPN section, and enter the connection details your VPN provider gives you. The exact steps vary by router model, so follow your provider's instructions for your specific router. Once connected, every device that joins your network will use the VPN automatically — you do not have to do anything on each device.

Router-level VPN has a trade-off: it may slow your internet noticeably because all traffic passes through the encryption process. If your internet speed is already slow, or if you have many devices streaming video at once, you may notice the difference.

Choosing between device-level and router-level VPN

Device-level VPN (installing an app on each device) is simpler to set up and does not slow down devices that are not using the VPN. Use this if you want to protect only your laptop or phone, or if you have guests on your network who should not be forced through a VPN.

Router-level VPN is better if you want all your devices protected without thinking about it, or if you have family members who would not remember to turn on a VPN app. It also protects devices that cannot run VPN apps, like smart home devices or older tablets. The downside is the setup is more complex and the speed hit affects your whole network.

Many people use both: they set up a VPN on their router for baseline protection of everything, and also install a VPN app on their laptop or phone for extra protection when they are away from home on public WiFi.

What to do after you connect

After you connect to a VPN, verify that it is actually working. Visit whatismyipaddress.com or ipleak.net in your browser. The IP address shown should be the VPN provider's address, not your real address. If it shows your real address, the VPN is not working — disconnect and try again, or contact your VPN provider's support.

Check your internet speed before and after connecting to the VPN. Visit speedtest.net and run a test. A 10 to 40 percent slowdown is normal. If the slowdown is much worse than that, try connecting to a different VPN server location (one closer to you is usually faster), or contact your provider.

If you are using a VPN on your router, test it from a device that is not running a VPN app. Open a browser, go to whatismyipaddress.com, and confirm you see the VPN provider's address. If you see your real address, the router VPN is not working — log back into the router settings and check the connection.

Common problems and how to fix them

If you cannot connect to the VPN, first check that you have entered the correct username and password. Log out and log back in. If that does not work, restart the VPN app or your router. If the problem persists, your VPN provider may be having an outage — check their website or support page.

If the VPN connects but you cannot browse the internet, your VPN provider may be blocking certain traffic or your router may have a firewall rule that conflicts with the VPN. Try disconnecting and reconnecting. If that does not work, try a different VPN server location. If you are using router-level VPN, restart the router.

If the VPN is connected but websites are very slow, try switching to a server in a different country or region. Servers that are geographically closer to you are usually faster. You can also try a different VPN provider — some are faster than others depending on your location and internet connection.

If you see a message that says "VPN connection unstable" or you keep disconnecting, your internet connection may be weak or the VPN server may be overloaded. Move closer to your WiFi router, or try connecting at a different time of day when fewer people are using the VPN service.

VPN providers and costs

Most VPN services charge between $3 and $12 per month, depending on how long a subscription you buy. ExpressVPN, NordVPN, Surfshark, and ProtonVPN are widely used and support most devices and routers. Each has different speeds, server locations, and privacy policies, so read reviews before you choose.

Free VPN services exist, but they come with real costs. Many free VPNs sell your browsing data to advertisers, limit how much data you can use per month, or slow your connection to the point that browsing is frustrating. If you do not pay for a VPN, you are the product being sold. Paid VPNs are more trustworthy because they make money from subscriptions, not from selling your data.

Some internet providers offer a VPN service to their customers at no extra cost. Check your provider's website to see if this is available to you. These are usually slower than paid third-party VPNs, but they are better than nothing if you are on a tight budget.

Frequently Asked Questions

Does a VPN make me completely anonymous online?

No. A VPN hides your IP address from websites and your internet provider, but the VPN company itself can see everything you do. If you want true anonymity, you would need to use Tor (a different tool) in addition to a VPN. For most people, a VPN is enough to stop casual snooping by neighbors or your ISP.

Will a VPN slow down my internet?

Yes, usually by 10 to 40 percent. The encryption and decryption process takes time, and data has to travel to the VPN server and back. Servers that are closer to you are faster. If the slowdown is severe, try a different server location or a different VPN provider.

Can I use a VPN on my phone while on public WiFi?

Yes, and this is one of the best reasons to use a VPN. Public WiFi at coffee shops and airports is not encrypted, so anyone on the same network can see your traffic. A VPN app on your phone encrypts everything, protecting you from snooping even on untrusted networks.

What if my router does not support VPN?

You can buy a router that does support VPN, or you can install VPN software on a small computer (like a Raspberry Pi) and connect it to your existing router to create a VPN gateway for your network. The second option is cheaper but requires more technical knowledge.

Do I need a VPN if I only use HTTPS websites?

HTTPS protects the content of the page, but a VPN also hides which websites you visit and how long you stay on them. Your internet provider can still see the domain names you visit even if the pages are encrypted with HTTPS. A VPN hides that information too.