Invite
Invite link, one person:
t.me/your_bot?start=inv_····
Send that link. They press /start.
A server you rent. A Telegram bot that invites your family. Keys that stay on that machine. Use it to keep a phone or laptop private on public Wi‑Fi, and to connect family devices to your own server.
Never used a server? Start here
$ curl -fsSL https://onelinevpn.com/install | sudo bash
How it works
Features
You send a link. That person presses /start and receives access. No public signup.
Each device gets a config file and a code to scan. Import it in the app the bot names.
A phone was lost, or someone left. Turn that device off from the bot.
The installer builds AmneziaWG when the kernel allows, and uses WireGuard when it does not.
There is nothing to renew. Traffic is handled by the machine you installed, not by a VPN company.
Save the installer and read it before you run it. The same line updates an existing server and keeps your keys.
In the bot
Invite
Invite link, one person:
t.me/your_bot?start=inv_····
Send that link. They press /start.
You are in. Import this on a phone or a computer.
Revoke tablet
Access removed.
Get a server
Ubuntu 24.04 or 22.04, with a public IPv4 address. About $4–6 a month covers a family of up to about 10 devices. Prices change, so check the provider.
Hetzner Cloud, DigitalOcean, Vultr, or Contabo. No referral codes. The five-minute guide shows every click, including the first time you open a terminal.
Requirements
A clean VPS is the path this is tested on.
Family devices connect to that address. One free UDP port is enough.
Yours becomes the admin. Everyone else joins from an invite you send.
The line installs the network, the bot, and a systemd service.
FAQ
In Telegram, open @userinfobot and press Start. The reply includes your numeric ID. Paste that number when the installer asks.
On the server, run sudo bash /opt/familyvpn/uninstall.sh. It asks you to confirm, then removes the bot, the keys, and the database.
Run the same line again. The installer replaces the bot program, restarts it, and leaves existing keys and the database in place.