What a VPN connection does and how to set one up

A VPN (Virtual Private Network) encrypts your internet traffic and routes it through a server in a location you choose, making your online activity harder to see from your internet provider, your network administrator, or websites you visit. To connect to a VPN, you install software on your device, open that software, select a server location, and click connect — the process takes under a minute once the software is installed.

The steps differ slightly depending on whether you use Windows, Mac, iPhone, or Android, and whether you're using a commercial VPN service (like ExpressVPN or Mullvad) or a VPN your workplace provides. This guide covers both paths and explains what to expect at each step.

Key Takeaways

  • Most VPN services require you to download software, create an account, and log in before you can connect for the first time.
  • Windows and Mac users typically download an app from the VPN provider's website; iPhone and Android users download from the App Store or Google Play.
  • Once installed, connecting usually means opening the app and clicking a single button — the VPN then stays active until you manually disconnect.
  • Workplace VPNs often require your company username and password, and may need additional setup through your IT department before the software will work.
  • You can check whether your VPN is working by visiting a site like whatismyipaddress.com before and after connecting — your location should change.

Setting up a commercial VPN service on Windows

Go to the VPN provider's website (for example, expressvpn.com or mullvad.com) and look for a download button, usually labeled "Download" or "get your free guide". Click it and save the installer file to your computer. Once the download finishes, double-click the installer file and follow the on-screen prompts — you'll typically be asked to choose an installation location and agree to terms of service.

After installation completes, the VPN app will usually open automatically. If it doesn't, search for the app name in your Windows Start menu and click it. You'll then see a login screen. If you already have an account with the provider, enter your username and password. If not, look for a "Sign Up" or "Create Account" button, which will take you to the provider's website to register — you'll need to provide an email address and create a password, and most services ask for a payment method at this stage.

Once you're logged in, the app shows a list of server locations (like "United States", "United Kingdom", "Japan"). Click the location you want to connect through, then click the large "Connect" button. The app will show a status message while it connects, usually taking 5 to 15 seconds. When the connection is active, the button typically changes color or the app displays "Connected".

Setting up a commercial VPN service on Mac

The process on Mac is nearly identical to Windows. Visit the VPN provider's website, click the download button, and save the installer. Open your Downloads folder, double-click the installer file, and follow the prompts. Some Mac installers ask you to drag the app icon into an Applications folder — if you see that step, do it.

Open the app (search for it in Spotlight by pressing Command + Space, typing the app name, and pressing Enter). Log in with your account details or create a new account through the app. Select a server location from the list and click "Connect". The app will show when the connection is active.

Setting up a commercial VPN service on iPhone or Android

On iPhone, open the App Store app, tap the search icon at the bottom, and search for the VPN provider's name (for example, "ExpressVPN" or "Mullvad"). Tap the app name in the results, then tap "Get", then "Install". You may be asked to authenticate with Face ID, Touch ID, or your Apple ID password. Once installation finishes, tap "Open" to launch the app.

On Android, open the Google Play Store app, tap the search icon, and search for the VPN provider's name. Tap the app name in the results, then tap "Install". Once installation finishes, tap "Open". On both platforms, you'll then log in or create an account, select a server location, and tap the connect button. The VPN will show a notification at the top of your screen when it's active.

Connecting to a workplace VPN

Workplace VPNs work differently because your company controls the setup. Your IT department will usually send you instructions that include a download link or tell you to contact them for access. Follow those instructions exactly — workplace VPNs often require specific configuration that the provider's standard app doesn't include.

When you open a workplace VPN app for the first time, it typically asks for your company username and password (the same ones you use to log into your work computer or email). Enter those credentials and click "Connect". Some workplace VPNs require you to install a certificate or security software first — your IT department will tell you if that's necessary. If the app won't connect after you've entered your credentials, contact your IT department; they can check whether your account is set up correctly on their end.

Checking that your VPN is actually working

The app showing "Connected" doesn't always mean your traffic is encrypted — sometimes the connection fails silently. To verify, open a web browser and visit whatismyipaddress.com. Write down or screenshot the IP address and location shown. Then disconnect from the VPN (open the app and click "Disconnect"), refresh the webpage, and check the IP address again. If the address and location changed between the two checks, your VPN is working.

If the address didn't change, the VPN didn't actually encrypt your traffic. Try disconnecting and reconnecting, or try a different server location. If it still doesn't work, check that you're actually logged into the app (some apps log you out after a period of inactivity). If you're using a workplace VPN and it won't connect at all, contact your IT department — they may need to reset your account or send you updated configuration files.

What happens while you're connected to a VPN

While the VPN is active, all your internet traffic goes through the VPN provider's server before reaching the destination website or service. This means websites see the VPN server's IP address instead of yours, and your internet provider sees encrypted data instead of the sites you visit. However, the VPN provider itself can see your traffic, so choose a provider whose privacy policy you trust.

Some websites block traffic from known VPN servers, so you may find that a site refuses to load or asks you to solve a CAPTCHA while connected. If that happens, you can disconnect from the VPN, use the site normally, and reconnect afterward. A few services (like some banks or streaming platforms) actively prevent VPN use — if a service blocks you, disconnecting is usually the only option.

Your internet speed may be slightly slower while connected because your traffic has to travel through an extra server. The slowdown is usually small (a few percent), but connecting to a distant server location makes it more noticeable. If speed matters for what you're doing, try connecting to a server location closer to you.

Frequently Asked Questions

Can I use a VPN on my phone and computer at the same time?

Yes. Most VPN services let you connect on multiple devices simultaneously, though some limit the number of simultaneous connections (for example, allowing only three devices at once). Check your provider's terms to see how many devices you can use at the same time. If you hit the limit, disconnect on one device before connecting on another.

What if the VPN app won't install?

On Windows or Mac, make sure you have administrator rights on your computer — some workplace computers restrict what software you can install. Contact your IT department if you can't install anything. On iPhone or Android, check that you have enough storage space available and that your device's operating system is recent enough. If the app page shows "Incompatible", your device is too old for that app.

Does a VPN hide my activity from my internet provider?

A VPN encrypts your traffic so your internet provider can't see which websites you visit or what you do on them. However, they can still see that you're connected to a VPN and how much data you're using. Some internet providers have policies against VPN use, though enforcement is rare.

Will a VPN slow down my internet?

Usually by a small amount — typically 5 to 15 percent slower, depending on the VPN server's distance and how busy it is. If you notice significant slowdown, try connecting to a different server location, usually one geographically closer to you. Some VPN providers are faster than others, so if speed is important, you may want to test a few services.

Can I leave my VPN connected all the time?

Yes, many people do. Leaving it connected means your traffic is always encrypted. The main drawbacks are slightly slower internet speed and the possibility that some websites will block you. If you want constant protection, you can leave it on; if you only need it for specific activities, you can connect and disconnect as needed.