Back to blog

How to Set Up a VPN Server on a VPS (Step by Step)

September 11, 2026 3 min read

There are two ways to end up with a VPN server running on your own VPS: do it by hand, or let something else do it for you. Both get to the same place — your own server, your own IP, nobody else's logging policy to trust. Here's what each actually involves.

Option 1: The manual route

If you want to understand every layer, or you just enjoy this kind of thing, here's the shape of it:

  1. Rent a VPS. Ubuntu or Debian, the cheapest tier is plenty — a VPN server barely touches CPU or RAM. (Full walkthrough: what is a VPS.)
  2. SSH in as root and update the system.
  3. Install your VPN software. WireGuard is the simplest (apt install wireguard); Xray/VLESS takes more configuration but disguises traffic as normal HTTPS.
  4. Generate keypairs. WireGuard needs a private/public key pair per peer; VLESS needs REALITY keys and a UUID per client.
  5. Write the config files — interface settings, peer entries, listening ports — and get the syntax exactly right, because small mistakes fail silently.
  6. Open the right ports in the VPS firewall and any provider-level security group.
  7. Start and enable the service, then generate a client config or QR code for each device you want to connect.
  8. Repeat steps 4–7 every time you add a user, add a device, or need to rotate a key.

None of this is exotic — it's standard Linux server administration. What makes it a barrier for most people is step 8: it's not a one-time setup, it's ongoing maintenance every time your access needs change.

Where people actually get stuck

Not the installation — the parts that come after: keeping track of which key belongs to which device, remembering to revoke access when a device is lost, checking whether the server is even still running, and doing all of that again on a second server if you add one.

Option 2: The managed route

This is what Nullsify replaces. You still rent your own VPS from whatever provider you want — Nullsify doesn't sell servers — but instead of steps 2 through 8, you do this:

  1. Add your VPS to the dashboard with its IP and SSH credentials (used once, over an encrypted connection, to install a lightweight agent).
  2. Pick a protocol — VLESS, AmneziaWG, or WireGuard.
  3. Add users and devices from the dashboard; each gets its own config and QR code.
  4. Revoke access instantly when you need to, without touching a terminal again.

Your SSH password isn't stored — after the initial install, the dashboard talks to the agent on your server, not to SSH directly. You still own the box and the IP; Nullsify just removes the part where every change means reconnecting over SSH and editing config files by hand.

Which one should you pick?

If you want to learn server administration or you're setting up a single connection you'll never touch again, the manual route is a reasonable afternoon project. If you want multiple users, multiple devices, or you just don't want key rotation to be your problem six months from now, the managed route gets you the same end result — your own VPN, on your own VPS — in a few minutes instead of an afternoon.

New to all of this? How to make your own VPN walks through the whole path in order, from choosing a server to testing the connection.

Start with your own VPS →

Ready to run your own VPN?

Bring your own VPS and have VLESS, AmneziaWG, or WireGuard running in minutes — no manual setup required.