One VPN server for the whole family: how to share it

One VPN server can serve a whole family. The rule is a separate key or link for every device, not one for everyone: then you see who uses what and can take access away from one phone without touching the others. How many people a server carries depends on its plan, because speed, the monthly traffic and the CPU are shared by everyone online.

Updated

On this page

A key for every device

On many protocols one key on two devices at the same time doesn't work at all: in WireGuard and AmneziaWG the devices knock each other off. Where a shared key does connect, you can't tell the devices apart, and to take access away from one person you have to change the key for everyone.

A key per device gives you three things: you can delete one client when a phone is lost or a guest leaves, you see how much traffic each one uses, and a problem on one device doesn't touch the rest. Name clients by person and device, say “Mum's phone”, not “Phone 3”.

What everyone shares

  • Speed — the server's port speed is split between everyone online at once. When three people stream video, each gets a share.
  • Traffic — many plans include a monthly traffic allowance, and video for a family uses it up far faster than one person does. Find out what the host does when it runs out: charges extra or slows the server down.
  • CPU — encryption takes processor time. Everyday use by several people is light; big downloads by many at once load it more. OpenVPN is heavier than the other protocols.
  • One address — sites see the same IP for everyone. If a site starts showing captchas to that address or blocks it, everyone on the server sees it.
  • One country — everyone appears where the server is. Another country needs another server.

How many people a small VPS carries

There is no honest single number. It depends on the plan's port speed and traffic allowance, the CPU, the protocol and what people do: messengers and browsing take little, video and big downloads take a lot. Memory is rarely the limit: Veli on the server takes about 20 MB, and the simplest plan with 1 GB of memory is enough for a VPN.

The practical way: start with the cheapest plan and watch the server's load and the traffic per device for a week or two. If the CPU sits near its limit at busy hours or the traffic won't last the month, move to a bigger plan or add a second server. A second server in another country also keeps the family online if the first one's address gets blocked.

How to give access to someone

  1. 1

    Create a client for the device

    A new key or link on the server for that one device and nobody else. Give it a name you will recognise later.

  2. 2

    Hand it over safely

    A link or QR code is like a password: whoever gets it connects as that device. Show the QR code in person or send the link in a private chat, not in a group.

  3. 3

    Install a client on their device

    Which app depends on the protocol: Hiddify, v2rayNG, Streisand or FoXray for VLESS Reality, the WireGuard app for WireGuard, AmneziaWG or AmneziaVPN for AmneziaWG, OpenVPN Connect for an .ovpn file.

  4. 4

    Check that it works

    Connect, open any site and check that the address sites see is the server's.

Taking access back

A lost phone, a guest who left, a friend who no longer needs it: delete that device's client on the server. Its link stops working, and the others keep theirs.

What the others notice depends on the protocol. On some, the server restarts its service and active connections drop for a second or reconnect by themselves within a few seconds; on others nobody notices at all. If everyone shared one key, there is nothing to delete but the key itself, and everyone needs a new one.

House rules for a shared server

  • Links stay private — not in group chats and not on social networks: anyone who gets one connects.
  • The server is in your name — the host sends complaints about the server's traffic to you, so agree on what the server is for.
  • Keep a copy of the keys — a reinstall without one issues new keys, and every device needs a new link.
  • Watch the traffic — if the allowance runs out mid-month, the whole family loses the VPN at once.
  • Keep a second way — another server or a subscription for the days the main one is blocked or down.
  • Filtering for children — some servers can give every device a DNS that hides ads and adult sites; otherwise set one on the child's device.

In Veli

Clients, QR codes and sharing on your server

In Veli the server screen keeps a list of clients: every device is its own client, you see how much traffic went through it, and deleting one doesn't affect the others. Under the list, type a name, say “Mum's phone”, and click “Add a device”: the QR code opens at once. Hiddify, v2rayNG, Streisand and FoXray read the VLESS Reality code; WireGuard and AmneziaWG codes open in their own apps, and a Veli code in the Veli app on an Android phone.

“Share…” in the server row's menu creates access for another person on several protocols at once, and “Copy all the links” hands them over in one paste; to take it back, delete that client from the server's list. Veli on the server takes as many devices as you like, and the command sudo veli set dns adguard-family gives all of them a DNS without ads and adult sites. “Terminal” on the server screen opens the server's console right in the app.

FAQ

Can two people use the same VPN key?

On WireGuard and AmneziaWG, not at the same time: the devices knock each other off. On any protocol it is better to give each device its own key, so that one can be taken back.

How many users can one VPN server handle?

It depends on the plan's speed, traffic allowance and CPU, and on what people do. Start with the cheapest plan, watch the load and traffic, and move up if it doesn't keep up.

Can the others see what I do on a shared server?

Users can't see each other's traffic. Whoever runs the server sees how much each device uses and, with root access, could log where connections go, so share a server with people you trust.

Can family members with an iPhone connect?

Yes: a VLESS Reality QR code opens in Streisand or FoXray, and a WireGuard code in the WireGuard app.

What if a phone with access is lost?

Delete that device's client on the server: its link stops working, and the other devices keep theirs.

A QR code for everyone in the family

Veli installs the VPN on your server over SSH, gives each device its own QR code and shows every client's traffic; delete one, and the others won't notice.