What VPS to choose for a VPN

For your own VPN the simplest plan is enough: 1 core and 1 GB of memory. What matters more: a Linux system from the list, root access over SSH, a public IPv4 and a server close to you — the shorter the path, the lower the ping.

Updated

On this page

What to look for

  • The system — Ubuntu, Debian, Fedora, CentOS, Rocky, AlmaLinux or Arch Linux. Ubuntu 24.04 is the easiest.
  • Root access over SSH. After payment the host sends you an IP address, the root login and a password.
  • A public IPv4 address: Veli takes connections over IPv4.
  • The CPU — regular (x86-64) or ARM.
  • Memory — 1 GB or more. With less, AmneziaWG may not build.
  • Location — close to you: the delay is lower.

What to avoid

  • OpenVZ and LXC containers without TUN. Almost every VPS has TUN; in containers it is turned on in the host's panel.
  • Plans with less than 1 GB of memory, if you need AmneziaWG.
  • Rare Linux builds and systems without systemd. Ubuntu and Debian are the easiest choice.

What to check after you order

  1. 1

    The server is on

    After payment it sometimes takes a few minutes to start. Check the host's dashboard.

  2. 2

    SSH lets you in

    Log in with the address, the root login and the password. Copy the password with no spaces; if it fails, reset it in the host's dashboard.

  3. 3

    The host's firewall

    If the dashboard has its own firewall, the protocol's port has to be opened there too.

In Veli

The app does the rest

Once you have the server, in Veli: Profiles → Add → “Your own server”. Type the address and password: user root and port 22 are already set, and “Change” changes them. The app recognises the system and installs everything it needs.

Uptime, load, memory and disk show at the top of the server screen, and when updates need a reboot, “reboot needed” appears. At the end of the installation the app checks the port from outside by itself and tells you if it is closed.

FAQ

How much memory does a VPS need for a VPN?

1 GB is enough. Veli takes about 20 MB of memory and 15 MB of disk. AmneziaWG may not build with less memory.

Will a VPS with IPv6 only do?

For Veli, no: it takes connections over IPv4. Add an IPv4 to the server in the host's panel or take a server that has it.

Can I log in as a user other than root?

Hosts usually give you root. For the veli command, a user with sudo will do too. In the app, root is set by default and “Change” changes it.

Have a VPS? Veli does the rest

The app recognises the system, installs everything it needs and checks the port from outside at the end.