AmneziaWG on your own server: installing Amnezia VPN on a VPS
In short: to run Amnezia VPN on your own server you need a KVM VPS with Ubuntu 22.04/24.04 or Debian 12/13, an x86-64 CPU, 1 GB of RAM and a public IPv4. The AmneziaVPN app connects over SSH and installs AmneziaWG itself — no commands to type. Below — the official server requirements, the setup in the app step by step, two community alternatives (Docker with a web panel and a one-script install), how to share keys with family and when Amnezia Premium is the easier choice.
The app needs the server’s IP, the SSH user and a password or key once. After that it manages the server for you: protocols, users and keys.
Amnezia VPN on your own server: what you gain and what you take on
A self-hosted server gives you an IP address that nobody else uses, full control over who connects, and no device limit beyond what the server can handle. Amnezia’s own guidance: one core and 1 GB of RAM is the minimum, and for ten or more simultaneous connections it suggests 2 GB and two vCPUs.
The other side is maintenance. When the protocol changes — as with the move from AmneziaWG 2.0 to 3.1 — you remove the old version, install the new one and send everyone new keys. If the hosting provider’s IP range gets slowed down, you move to another server yourself.
So the honest rule is simple: a self-hosted server suits people who are comfortable renting a VPS and checking on it now and then; if you just want a working VPN on your phone today, the paid Amnezia Premium does the same job on Amnezia’s servers.
AmneziaVPN costs nothing for self-hosting; you pay only the VPS provider, at its own prices.
VPS for Amnezia VPN: official requirements
From the “VPS requirements” page of docs.amnezia.org, November 2026. A server that misses one of these lines may fail to install.
| Parameter | What you need | Note |
|---|---|---|
| System | Ubuntu 22.04 / 24.04 or Debian 12 / 13 | Officially supported; Ubuntu 20.04, Debian 11, Fedora 42/43 should also work |
| Virtualisation | KVM | OpenVZ and LXC containers won’t work |
| CPU | x86-64 (amd64), 1 core or more | ARM (aarch64) servers are not supported |
| Memory and disk | 1 GB RAM, 10 GB SSD | 2 GB RAM and 2 vCPU for 10+ connections |
| Address | Public IPv4 | IPv6-only servers are not supported |
| Access | SSH: root or a sudo user without a password prompt | Password or private SSH key from the hosting |
| Software | Nothing pre-installed | No control panel needed; systemd is required |
How to install Amnezia VPN on a VPS: 6 steps in the app
This is the route from Amnezia’s “Set up a self-hosted VPN” guide. You don’t open a terminal: the app sends the commands over SSH.
- 1
Rent a suitable VPS
KVM, x86-64, Ubuntu 22.04/24.04 or Debian 12/13, a public IPv4. The provider emails the IP, the user (usually
root) and a password or key. - 2
Update AmneziaVPN
Install the latest version from the official download page — for AmneziaWG 3.1 you need 5.0.1.5 or newer.
- 3
Choose “Self-hosted VPN”
Press the plus or “Get started” and pick the self-hosted option. Enter the IP (add
:portif SSH is not on 22), the user and the password or key. - 4
Pick automatic setup
Automatic installs AmneziaWG only; other protocols can be added later from the server’s Protocols tab.
- 5
Change the port to one below 9999
AmneziaWG starts on a random high port. Amnezia advises switching to a number up to 9999, such as 585 or 1234, that no other service uses.
- 6
Connect and check the IP
The app creates a connection with full access to the server. Turn it on and check that sites now see your VPS address.
AmneziaWG server without the app: Docker panel or one script
Two community projects install an AmneziaWG server by other means. They are not made by Amnezia — check their GitHub pages and your provider’s rules before using them.
- The official route: SSH from the app, no terminal.
- Manages users, protocols and keys from your phone or PC.
- Best for most people and for sharing keys with family.
- WireGuard Easy runs in Docker and manages clients in a browser panel.
- Version 15.5 (October 2026) added AmneziaWG 3.1 support.
- Suits people already running Docker on their server.
💡 Community project, not Amnezia.
- amneziawg-installer by bivlked: one bash script, kernel module, no Docker and no web panel.
- Ubuntu 24.04 / 26.04 or Debian 13 (kernel 6.7+ for 3.1), KVM on x86-64; about 15–25 minutes with two reboots.
- Creates two sample clients at the end.
💡 Community project, not Amnezia.
Self-hosted Amnezia myths that waste an evening
Any cheap VPS will do
Hover or tap — see the factOpenVZ/LXC containers, ARM CPUs and IPv6-only servers are not supported. Check for KVM, x86-64 and a public IPv4 before paying.
You need to know Linux commands
Hover or tap — see the factNot with the official route: the app logs in over SSH and runs everything itself. The terminal is only needed for community scripts.
A vpn:// key works on a router
Hover or tap — see the factRouters and the AmneziaWG app need the .conf format; the vpn:// key is for the AmneziaVPN app.
Set it up once and forget it
Hover or tap — see the factProtocol updates such as 2.0 → 3.1 need a reinstall and new keys, and Amnezia publishes server security updates you should apply.
Common questions
How do I set up Amnezia VPN on my own server?
Rent a KVM VPS with Ubuntu 22.04/24.04 or Debian 12/13 and a public IPv4, open AmneziaVPN, choose the self-hosted option, enter the IP, SSH user and password or key, and pick automatic setup — the app installs AmneziaWG.
Which VPS is suitable for Amnezia?
KVM virtualisation, an x86-64 CPU with at least 1 core, 1 GB RAM (2 GB for 10+ connections), 10 GB SSD and a public IPv4. OpenVZ, LXC and ARM servers won’t work.
Can I install AmneziaWG on Ubuntu?
Yes: Ubuntu 22.04 and 24.04 are officially supported for the app-based install, and 20.04 should work too. The community script targets Ubuntu 24.04/26.04 and Debian 13.
Is there an AmneziaWG Docker image or web panel?
The community project wg-easy runs in Docker with a browser panel and supports AmneziaWG 3.1 since version 15.5 (October 2026). It is not an Amnezia product.
How do I give family access to my server?
In AmneziaVPN press Share, choose the protocol and send a vpn:// key (for the AmneziaVPN app) or a .conf file (for the AmneziaWG app or a router). One guest key works on one device and can be revoked any time.
Which port should AmneziaWG use on a VPS?
Amnezia recommends changing the random high port to any free number up to 9999, such as 585 or 1234, because some providers handle UDP on high ports badly.
Own server or Amnezia Premium — which is cheaper?
It depends on the VPS price you find. Premium costs from $3.50 a month on the 2-year plan for up to 7 devices and 50+ locations, with updates handled by Amnezia; a VPS gives one location and the upkeep is yours.
A VPN without a server to maintain
Amnezia Premium runs AmneziaWG 3.1 on Amnezia’s servers: 50+ locations, up to 7 devices, 14-day refund — and 10% off with our code.
Server requirements and steps from docs.amnezia.org, checked November 2026; prices from amnezia.org, November 2026.