Skip to content

Start here

Setting up your first VPN

Install and configure a VPN on phones, computers and TVs, step by step.

Updated · First published · 10 sources

The short answer

Sign up with a provider, install its app on each device from the provider’s website or your device’s app store, sign in, allow the app to add a VPN configuration, and connect. Then turn on the kill switch and auto-connect, and run a leak test. For a device without an app, import your provider’s WireGuard or OpenVPN file into the official WireGuard or OpenVPN Connect app, or set the VPN up on your router.

What you need before you start

You need an account with a VPN provider, its login details, and a list of the devices you want to protect. Check how many devices your plan allows at once: among the providers we track it ranges from 7 to unlimited, and our price table lists each one.

Use the provider’s own app wherever one exists. It picks servers and protocols for you and includes settings such as the kill switch. Manual setup, covered further down, is the fallback for devices without an app.

Download VPN apps only from the provider’s own website or your device’s official app store. Search results and app stores are full of look-alike apps.

How to set up a VPN on Windows

  1. Download the Windows app from your provider’s website. Microsoft also suggests checking the Microsoft Store for your VPN service’s app.
  2. Run the installer and follow its prompts.
  3. Open the app, sign in, and choose a server or the quick-connect option.
  4. Select Connect. The app shows when you’re connected.

Without an app

Go to Settings > Network & internet > VPN > Add VPN. Set VPN provider to “Windows (built-in)”, then enter a connection name, the server address, the VPN type and the sign-in details your provider gives you, and select Save. Connect from the same page or from the network icon on the taskbar. The built-in client supports IKEv2, L2TP, SSTP and PPTP, not WireGuard or OpenVPN; for those, use the official apps described below.

How to set up a VPN on a Mac

  1. Download the app from your provider’s website or the Mac App Store.
  2. Open it and sign in.
  3. When the app asks to add a VPN configuration, allow it. It can’t connect without one.
  4. Choose a server and connect.

Without an app

Choose Apple menu > System Settings, then Network. Open the Action pop-up menu, choose Add VPN Configuration, pick the type (L2TP, IPSec or IKEv2), enter your provider’s settings and click Create. If your provider sends a VPN settings file, double-click it instead. You can then connect from the VPN status menu in the menu bar.

How to set up a VPN on iPhone and iPad

  1. Install your provider’s app from the App Store.
  2. Open it and sign in.
  3. When iOS asks whether the app may add VPN configurations, tap Allow and confirm with your passcode if asked.
  4. Connect in the app. Your VPNs are listed under Settings > General > VPN & Device Management.

iPhone and iPad also have built-in L2TP, IKEv2 and IPSec clients. To add one, go to Settings > General > VPN & Device Management and enter the server address, account and authentication details from your provider.

How to set up a VPN on Android

  1. Install your provider’s app from Google Play.
  2. Open it and sign in.
  3. Tap connect. The first time, Android shows a connection request asking you to confirm that you trust the VPN. Accept it.
  4. Look for the key icon in the status bar, which shows the VPN is active.

On Android 7.0 and later, a VPN app can run from startup (Always-on VPN) and the system can block any traffic that doesn’t use it (Block connections without VPN). Look for these in the VPN’s options under Settings > Network & internet > VPN. Some VPN apps don’t support always-on, so if you don’t see the options, use the app’s own auto-connect and kill switch settings.

How to set up a VPN on a TV or router

  • Android TV, Google TV and Fire TV: install your provider’s app from the TV’s app store, if the provider offers one, and sign in as you would on a phone.
  • Apple TV: Apple added support for VPN apps in tvOS 17, so check whether your provider has an Apple TV app.
  • Router: if your router has a VPN client that accepts WireGuard or OpenVPN files, import your provider’s configuration in the router’s admin page. Every device on that network then goes through the VPN, including consoles and TVs that can’t run an app.

Router setup varies by model, so follow your router maker’s manual and your provider’s setup page. If you’re covering a whole household, see our multi-device ranking.

How to set up WireGuard or OpenVPN manually

  1. In your provider’s account area, download a WireGuard (.conf) or OpenVPN (.ovpn) configuration file for the server you want.
  2. Install the official app. WireGuard offers a Windows installer at download.wireguard.com and apps on the App Store, Mac App Store and Google Play. OpenVPN Connect runs on Windows, macOS, Linux, iOS, Android and ChromeOS.
  3. Import the file. The WireGuard app imports tunnels from files, archives or QR codes. In OpenVPN Connect, upload the .ovpn file or enter the URL your provider gives you.
  4. Turn the tunnel on.

A configuration file connects to the server it was made for, so you’ll need a new file to change location. Not sure which protocol to pick? See OpenVPN vs WireGuard.

Which settings to turn on after you connect

  • Kill switch: blocks your internet if the VPN drops, so your real IP address isn’t exposed. See what a kill switch does.
  • Auto-connect: starts the VPN when your device starts or when you join an unfamiliar Wi-Fi network.
  • Protocol: the app’s automatic choice is usually fine. Change it only if you have trouble connecting.
  • DNS leak protection, if the app lists it as a separate option.

Then check that it works: compare your IP address with the VPN on and off, and run a DNS leak test. How to test your VPN walks through it.

What to do if the VPN won’t connect

  • Try a different server or location.
  • Switch protocol in the app’s settings.
  • On hotel or café Wi-Fi, open a browser and complete the network’s sign-in page first, then connect the VPN.
  • Close any other VPN app, including work VPNs. On Android, starting one VPN stops the other.
  • Still stuck? Contact your provider’s support with your device and app version.

Common questions

Do I need to set up a VPN on every device?

Yes, an app protects only the device it runs on. A VPN set up on your router covers every device on that network instead, which helps for TVs and consoles without an app.

Can I set up a VPN without an app?

Yes. Windows, macOS, iOS and Android have built-in VPN clients for protocols such as IKEv2, and the official WireGuard and OpenVPN Connect apps accept configuration files from most providers.

How do I know my VPN is working?

The app should show it’s connected, and on Android a key icon appears in the status bar. To be sure, check that your IP address changes and run a DNS leak test.

Is a VPN browser extension enough?

Usually not. A browser extension typically covers only that browser’s traffic, while the app covers the whole device. See VPN vs proxy for the difference.

Sources

We checked this guide against these pages on October 22, 2026.

  1. Connect to a VPN in Windows · Microsoft Support
  2. VPN connection types · Microsoft Learn, Jan 28, 2025
  3. Connect your Mac to a VPN · Apple Mac User Guide
  4. Set up a VPN for iPhone and iPad · Apple Support, Oct 22, 2025
  5. NEPacketTunnelProvider (availability: tvOS 17.0 and later) · Apple Developer Documentation
  6. Connect to a virtual private network (VPN) on Android · Google Android Help
  7. VPN · Android Developers
  8. Installation · WireGuard
  9. WireGuard · App Store (WireGuard Development Team)
  10. OpenVPN Connect client · OpenVPN