On this page
What you need
- A VPS with Linux: Ubuntu, Debian, Fedora, CentOS, Rocky, AlmaLinux or Arch Linux. Ubuntu 24.04 is the easiest.
- The server's IP address, the root login and a password — the host sends them after payment.
- A VPN protocol. WireGuard is the fastest; VLESS Reality looks like an ordinary website to your ISP.
- A client on every device that will connect.
How to set it up by hand
- 1
Rent a server
The cheapest plan at any host is enough. Pick the system when you order — Ubuntu 24.04 is the easiest.
- 2
Log in over SSH
From your computer: the server address, the root login and the password from the host's email. A fresh server installs its system updates in its first minutes — let it finish.
- 3
Install the protocol
The server program, keys, port and firewall rules differ from one protocol to another. Set them up following that protocol's guide.
- 4
Open the port
If the host has a firewall in its dashboard, open the protocol's port there. Otherwise the server runs, but devices can't reach it.
- 5
Give out access
Each device gets its own key or link. One key on two devices at the same time does not work: they knock each other off.
Which protocol to install
- WireGuard — the simplest and fastest, if the network doesn't cut it.
- AmneziaWG — WireGuard with masked packets. Just as fast.
- VLESS Reality — from the outside it looks like an ordinary secure website.
- Shadowsocks — simple and light, but at times unstable.
- OpenVPN — for devices and routers that only understand .ovpn.