How to set up a VPN, step by step

Follow these five steps in order. Each step tells you exactly what to do and what you should see when it has worked.

5 steps to set up a VPN on any device

New to VPNs? Read what a VPN is and how it works first; it takes about five minutes.

  1. Choose a trustworthy VPN provider

    Your VPN provider can see your traffic metadata, so pick carefully. Look for an independently audited no-logs policy, modern protocols (WireGuard or OpenVPN), a kill switch, DNS leak protection and apps for all of your devices.

    Use our VPN provider checklist

  2. Get the official app for your device

    Use only your device's official app store or the provider's official account page. Avoid look-alike apps and unofficial mirrors. Detailed steps are in the device instructions below.

  3. Sign in and connect

    Open the app, sign in, and choose Quick connect or a server in a nearby location for the best speed. You should see a status such as “Connected” or “Protected”.

  4. Verify that the VPN is working

    • IP check: note your IP address shown in your provider's app or account dashboard before and after connecting. It should change to the VPN server's address.
    • DNS leak check: use the leak test built into most reputable VPN apps; the DNS servers listed should belong to your VPN provider, not your ISP.
    • Location check: websites that show local content should now reflect the VPN server's region.

    Full guide: how to check your VPN for IP, DNS, WebRTC and IPv6 leaks

  5. Turn on the key safety settings

    • Kill switch: blocks internet access if the VPN drops.
    • Auto-connect: connects automatically on untrusted Wi-Fi networks.
    • Launch at startup: starts the app when your device turns on.
    • Protocol: leave it on “Automatic” or choose WireGuard or OpenVPN. See the VPN protocol comparison.

VPN setup instructions for your device

Select your device to see the exact steps. Menu names reflect current operating system versions and may differ slightly on older versions.

  1. Get the provider's app

    Open the Microsoft Store or your provider's official account page, find the official app and add it to your PC. Check that the publisher name matches your provider.

  2. Sign in

    Open the app and sign in with the account you created with your provider.

  3. Allow the VPN configuration

    Windows may ask for permission to add a network adapter. Choose Yes; this is how the tunnel is created.

  4. Connect

    Choose Quick connect or a nearby server and press Connect. The app should show a connected status.

  5. Alternative: built-in VPN client

    If your provider gives you IKEv2 or L2TP details, open Settings → Network & internet → VPN → Add VPN, enter the server address and sign-in details, save, then select Connect.

Full Windows 11 VPN guide with troubleshooting

What a correctly connected VPN looks like

Most VPN apps follow a similar layout. When everything is working, your phone or computer should show a clear protected status similar to this example.

Smartphone VPN app in the protected state A phone screen showing a VPN app with a large green power button, the status Protected, and green checkmarks next to the server location, the WireGuard protocol, the kill switch and the new IP address. VPN Protected Your connection is encrypted ServerNearest location ProtocolWireGuard Kill switchOn Visible IP address198.51.100.7

Look for these signs

  • A “Connected” or “Protected” status in the app
  • A new IP address belonging to the VPN server
  • A VPN icon or key symbol in your system status bar
  • Kill switch shown as active in settings

Your VPN connection checklist

Tick each item as you complete it. Progress is saved on this device only if you allow preference storage.

Fixing common VPN problems

ProblemTry this, in order
The app will not connect1. Check that your internet works without the VPN. 2. Try a different server. 3. Switch protocol (for example from WireGuard to OpenVPN TCP). 4. Restart the app and your device.
Internet is slow1. Pick a server closer to you. 2. Use WireGuard. 3. Test at a different time of day. 4. Use a wired connection if possible.
A website blocks you1. Try another server in the same region. 2. Temporarily disconnect for trusted sites such as your bank, if their security rules require it.
VPN disconnects often1. Turn on the kill switch so nothing leaks. 2. Use IKEv2 or WireGuard on mobile, which reconnect quickly. 3. Disable battery optimization for the VPN app on Android.
DNS leak test shows your ISP1. Enable “DNS leak protection” in the app. 2. Turn off custom DNS settings on your device or browser. 3. Reconnect and test again.

Still stuck? Check the VPN FAQ for answers about speed, battery life and multiple devices.