How to use a VPN on a laptop and a phone: set up, connect, check

To use a VPN you need two things: an app on your device and a server to connect to, which is a link, key or subscription from a VPN service, or a server of your own. Install the app, add the server, press connect, then check that sites see a new address. Below are the steps on a laptop and an Android phone with Veli as the example, plus how to keep your bank outside the tunnel, start the VPN with the system and turn it off.

Updated

My IP: address, country and ISP

Veli as your VPN app. Veli is a free VPN client for Windows, macOS, Linux and Android: install it, add a server, press one button.

Download Veli for free
On this page

What you need before you start

An app on its own connects to nothing, and a server on its own has no button. First see which of these you have.

  • A link or key from a VPN service

    What it looks likeOne line: vless://…, ss://…, trojan://…, hysteria2://…

    What to do with itPaste it into the app

  • A subscription

    What it looks likeAn https:// address from the service's account page or bot

    What to do with itPaste it: the app downloads the list of servers and keeps it up to date

  • A file

    What it looks like.conf (WireGuard, AmneziaWG), .ovpn (OpenVPN), .json

    What to do with itOpen it in the app

  • A rented server (VPS)

    What it looks likeAn IP address and a root password from the hosting

    What to do with itLet the app install a VPN on it

  • Settings for a work VPN

    What it looks likeA server name, a type such as IKEv2 or L2TP, a login

    What to do with itThe system's own VPN settings (the last section)

  • Nothing yet

    What it looks likeNo link, file or server

    What to do with itGet access from a VPN service, or rent the cheapest server at a hosting and set up your own

  • A service's own app already joins both halves: you sign in and press connect.
  • A standalone client is only the app, and you bring the server. The rest of this page is about that case, with Veli as the example.

On a laptop: Windows, Mac or Linux

  1. 1

    Install the app

    Take the installer for your system from the download page: Windows 10 and 11 on x64, macOS 12 and newer (one build for Apple Silicon and Intel), Linux as a .deb for Ubuntu 24.04+, Debian 13 and Mint 22, or as an AppImage, which also runs on Fedora 40+ and Arch. If Windows SmartScreen stops the installer, press “More info”, then “Run anyway”. If macOS won't open the app, go to System Settings → Privacy & Security and press “Open Anyway”.

  2. 2

    Give it the rights

    A VPN changes how the whole system reaches the network, so it needs permission. On Windows the app asks for administrator rights at first launch. On macOS and Linux it installs a system component once, and you confirm that with your system password.

  3. 3

    Add the server

    Profiles → Add; while the list is empty, the window opens by itself. Paste the link, key or subscription address and press “Continue”, or press “Open a file”, or just drag the file into the window. Each server becomes a profile.

  4. 4

    Or install a VPN on your own server

    With a rented server, choose “Your own server” in the same window, type its address and password and press “Add the server”. Pick a protocol and wait a few minutes: the app installs it over SSH and adds a profile.

  5. 5

    Connect

    Press the big button on Home. It turns green, the speed appears under it, and the bottom of the window says “Protected”. The tray icon changes too.

On an Android phone

  1. 1

    Install the app

    Download the APK from the download page (Android 8.0 or newer) and open it. The phone asks whether apps may be installed from this source: allow it. TVs have their own Android TV build.

  2. 2

    Add the server

    Profiles → Add. Paste a link, key or subscription address and tap “Continue”, or use “Scan a QR code”, “Open a file”, “Your own server” or “Provider subscription” further down.

  3. 3

    Or move it from the computer

    If the server is already in Veli on your computer, open the profile's menu there, choose “QR code for the phone” and scan the code with “Scan a QR code” on the phone.

  4. 4

    Connect and allow

    Tap the big button. The first time, Android asks you to allow a VPN connection: without it the tunnel can't come up. Once it's up the app says “Connected” and a key appears in the status bar.

  • Without opening the app. From then on the VPN can be switched from the Quick Settings tile or the home-screen widget.
  • iPhone. Veli has no iPhone app; there the same steps work in any App Store client that opens your server's link or file.

Check that the VPN works

“Connected” only means the tunnel is up. Check what sites actually see.

  1. 1

    Run the app's checks

    Diagnostics → “Check everything” runs four checks: network, sites, privacy and speed. The Privacy tile shows which address and which DNS servers sites see, and says “There is a leak” if something slips past the tunnel.

  2. 2

    Compare your IP on this site

    Open the My IP page with the VPN off and note the country and provider, then connect and reload. You should now see the server's address and its country.

  3. 3

    Measure the speed

    Run the speed check in Diagnostics with the VPN and without it: past results are kept, so you can see what the tunnel costs.

  • Your own address, though the app says “Protected”

    Likely causeThe mode is “Through the VPN only…” and the browser isn't on the list

    What to doSwitch to “Everything through the VPN except…” or add the browser

  • The new IPv4 address, but your own IPv6

    Likely causeIPv6 goes past the tunnel

    What to doTurn IPv6 off in the system, or use a profile that carries IPv6 too

  • Connected, but no site opens

    Likely causeThe server is down or the network cuts this protocol

    What to doTry another server; Diagnostics names the cause

Keep your bank and local sites outside the tunnel

A bank, a government site or a local shop sees the VPN server's country and may ask for extra checks or refuse to open. You don't have to switch the VPN off for them: send them past it. This is called split tunneling.

In Veli it is the page Apps and sites, with two modes. “Everything through the VPN except…” is the usual one: all traffic goes into the tunnel, and what you list goes direct. “Through the VPN only…” is the reverse: only what you list uses the VPN.

  1. 1

    Keep the first mode

    “Everything through the VPN except…”, which is already chosen.

  2. 2

    Add the app or the site

    “Pick apps” lists the programs, those open now at the top: tick the bank's app. A site goes into the field under “Sites and IP addresses”, then “Add”, and its subdomains go along with it.

  3. 3

    Or take a ready-made set

    “Pick from the list” opens ready-made sets of sites by topic, with picks for the country chosen in the app.

  4. 4

    Apply

    Save, and if the VPN is on, press “Reconnect”: rules take effect when a connection starts.

  • On WireGuard, AmneziaWG and OpenVPN profiles only IP addresses from the rules work, and the page says so.
  • Android has the same page; there you pick apps from the phone's own list.

Turn it off, or let it start by itself

  • To turn it off, press the big button again, or use the menu of the tray icon. On Windows and macOS closing the window keeps the VPN running in the tray, and quitting from the tray menu disconnects it. On Linux closing the window quits the app and disconnects.
  • With the computer. Settings → System → “Start with Windows” (on macOS and Linux “Start at login”) and Settings → Connection → “Connect at startup” are on from the install, so the computer comes up with the VPN to the last server. With no servers added nothing turns on. Switch them off if you'd rather connect by hand.
  • With the phone. On Android “Connect on startup” in Settings is off until you turn it on; then the VPN comes back after the phone restarts. Android's own Always-on VPN does the same from the system side.
  • On unfamiliar Wi-Fi. Settings → Wi-Fi networks can turn the VPN on by itself in any network you haven't marked as trusted, and off at home.
  • Kill switch. Off after install. Settings → Security → “Kill switch” blocks the internet outside the VPN while it is on or reconnecting, so nothing leaks during a drop. On Android the same job is done by the system's “Block connections without VPN”.

The same in other apps and in the system's own VPN

Every VPN client follows the same four steps: install, import the server, connect, check. Only the names differ: an import button, a plus, a QR scanner. A WireGuard .conf goes into the WireGuard app or any client that reads it; a vless:// link needs a client that knows VLESS.

Windows, macOS, iPhone and Android also have a VPN client of their own, built for the classic office protocols:

  • Windows 11: Settings → Network & internet → VPN → Add VPN, with “Windows (built-in)” as the VPN provider. The types are IKEv2, L2TP/IPsec, SSTP and PPTP, plus Automatic, which tries them in turn. In Windows 10 the button is “Add a VPN connection”.
  • macOS: System Settings → Network → the Action pop-up menu → Add VPN Configuration: L2TP over IPSec, Cisco IPSec or IKEv2.
  • iPhone: Settings → General → VPN & Device Management.
  • Android: Settings → Network & internet → VPN.
  • Both ways round. These built-in clients don't open vless:// links, WireGuard .conf or OpenVPN .ovpn files. And Veli doesn't connect IKEv2, L2TP, SSTP or PPTP, so a work server of that kind goes into the system's settings.

Sources

How we write and check

In Veli

Veli as your VPN app

Veli is a free VPN client for Windows, macOS, Linux and Android: install it, add a server, press one button. It brings no servers of its own and needs no sign-up.

A link, key, file or subscription from a VPN service goes into Profiles → Add, and “Your own server” there installs a VPN on a rented server for you. Diagnostics shows what sites see, Apps and sites keeps your bank direct, and from the install the app starts with the computer and connects to the last server. There is no app for iPhone.

FAQ

Do I need an account to use a VPN?

Not for the app: Veli has no sign-up. A VPN service usually has an account, because that is where it gives you the link or subscription. Your own server needs only the hosting's login.

Which server should I connect to?

The nearest one that does the job is usually the fastest, since every request goes there and back. Pick a server farther away only when you need that country's address.

Should I keep the VPN on all the time?

It's up to you. On public Wi-Fi it makes sense; at home many people turn it on only when they need it. On a computer an always-on VPN costs little, on a phone some battery, and split tunneling saves you from switching it off for the bank.

Can I use one VPN on my laptop and my phone?

Yes, if the service allows several devices: check its limit. On your own server each device gets its own access, and “Add a device” on the server's screen gives a QR code for the phone. There, one key on two devices at the same time doesn't work: they knock each other off.

Why don't sites open after I connect?

Try another server from the same list first. Then run Diagnostics and “Check everything”: it names the cause, such as no answer from the server, DNS or a wrong system clock. If only some sites fail, look at the split tunneling rules.

Can I run two VPNs at once?

Not as a rule. Android keeps one VPN active at a time, and on a computer two tunnels fight over the same routes. Keep one on; Veli tells you when another VPN is running alongside it.

Four steps and one button

Veli is a free VPN client for Windows, macOS, Linux and Android. Install it, paste your server's link or subscription, or set up your own server, and connect.