TutorialDec 2, 20267 min read

AmneziaVPN on Your Own VPS: Self-Hosted Setup Step by Step

Set up a self-hosted AmneziaVPN server on a $3.90 Linux VPS (1 GB RAM, 10 GB NVMe, KVM, own IPv4) without typing a command. Requirements, the steps in the app, the port to change, sharing with guest keys, and what to do when it fails. Paid with crypto, no ID.

Short answer: rent a Linux VPS with Ubuntu 24.04 or 22.04, open the AmneziaVPN app, choose Self-hosted VPN and enter the server's IP address, root and the password from your server page. The app installs AmneziaWG on the server by itself over SSH; our smallest Linux plan ($3.90 a month, 1 vCPU, 1 GB RAM, 10 GB NVMe) meets Amnezia's minimum requirements.

AmneziaWG is a fork of WireGuard that keeps WireGuard's encryption and speed but hides the patterns that DPI filters look for, which is why it keeps working on networks where plain WireGuard or OpenVPN gets blocked. Running it on your own server means you hold the keys and nobody else shares your IP address. If you'd rather configure plain WireGuard by hand, see Set Up Your Own WireGuard VPN on a VPS.

01What Does an AmneziaVPN Server Need?

Amnezia's requirementRdp.Vision Linux VPS
Ubuntu 22.04 or 24.04, or Debian 12 or 13Ubuntu 24.04 and 22.04 on the order page
1 GB RAM or more1 GB on the $3.90 plan, 2 GB on the $6.50 plan
10 GB SSD or more10 GB NVMe on the $3.90 plan, 20 GB on the $6.50 plan
KVM virtualization (OpenVZ and LXC won't work)KVM
A public IPv4 address (IPv6 isn't supported)Own IPv4 address included
Root over SSH with a password or a keyroot on port 22, password on the server page
A location with little censorship, close to youAmsterdam, Frankfurt, Warsaw, Romania, New York, Hong Kong

Sources: Amnezia's guide to choosing a VPS and self-hosted setup, read on 2 December 2026.

Which plan? The $3.90 plan (1 vCPU, 1 GB RAM) is enough for you and a few devices. Amnezia notes that more cores and RAM allow more simultaneous connections, so take the $6.50 plan (2 vCPU, 2 GB) for a family or a small team, or if you install a second protocol next to AmneziaWG.

Top up $50 or more and get up to 15% extra on your balance.

Nano1 vCPU · 1 GB · 10 GB NVMe$3.90/mobilled monthlyBuy
Pulse2 vCPU · 2 GB · 20 GB NVMe$6.50/mobilled monthlyBuy
RecommendedSurge4 vCPU · 6 GB · 40 GB NVMe$13.00/mobilled monthlyBuy
Storm6 vCPU · 10 GB · 40 GB NVMe$26.00/mobilled monthlyBuy
Apex6 vCPU · 10 GB · 80 GB NVMe$39.00/mobilled monthlyBuy

Full root SSH access · NVMe storage · DDoS protection · No setup fee

02How Do I Set Up AmneziaVPN on My VPS?

  1. 1Order a Linux VPS with Ubuntu 24.04 on the order page. Pick the location your traffic should come from. It's ready 1 to 5 minutes after the payment confirms.
  2. 2Copy the login. The server page shows the IP address and the root password, each with a copy button.
  3. 3Install the latest AmneziaVPN app on your computer or phone from amnezia.org. Amnezia asks you to update the app before you set up a server; old versions can fail.
  4. 4Add the server. Click the plus icon (or Get Started on a fresh install) and choose Self-hosted VPN.
  5. 5Enter the details. Server IP address, username root, and the password. If you changed the SSH port, write it after the IP, for example 203.0.113.10:2221.
  6. 6Choose Automatic and click Continue. Automatic installs AmneziaWG; Manual lets you pick one protocol (for example XRay) and click Install. You can add more protocols later.
  7. 7Connect. When the installation finishes, the app has a ready connection with full access to the server. Turn it on and check your IP on any "what is my IP" site: it should show your server's address.

No terminal is needed: the app logs in over SSH, installs the VPN and writes the configuration for you. If installation stops, the table under "Why Does the Installation Fail?" lists the usual causes.

03Which Port Should AmneziaWG Use?

AmneziaWG picks a random UDP port. Amnezia recommends changing it to a number up to 9999, such as 585 or 1234, because some internet providers block UDP on high ports. Change it in the app under the server's protocol settings, and make sure nothing else on the server uses that port.

Our firewall lets everything in until you add your own rules. If you have added rules in the firewall card on the server page, add an Inbound, Allow, UDP rule for the AmneziaWG port above any block rule, and keep port 22 open so the app can still manage the server. How the firewall rules work.

04How Do I Share the VPN with Family or a Team?

Share guest access, one key per device:

  1. 1Open the Share screen. In the app, use the Share icon on the bottom bar, next to the gear.
  2. 2Name the user and pick the server, the protocol and the format. The AmneziaVPN format gives a vpn:// key for the AmneziaVPN app; the AmneziaWG native format gives a .conf file for the AmneziaWG app or a router.
  3. 3Send it. Share saves or sends the file, Copy copies the key, and QR code lets the other phone scan it (not for the native format).

Each guest key works with one protocol on one device. To take access away, open the Users tab of the Share screen, pick the user and click Revoke.

05Why Does the Installation Fail?

What you seeLikely causeWhat to do
The app can't log inWrong password, a space copied with it, or the server is still installingCopy the password again from the server page; wait until the status says ready
Login works, installation stopsThe system is not on Amnezia's list, or the app is oldReinstall the server with Ubuntu 24.04 and update the app
Installed, but the VPN doesn't connectA firewall rule blocks the UDP port, or your network blocks high UDP portsAllow the port in the firewall card; change AmneziaWG to a port under 10000
Connects, but some sites refuse youThe site blocks data centre addressesSee why a website blocks a VPS address: IPv6 is free, a new IPv4 costs $5
Your SSH client warns that the host key changedYou reinstalled the serverRemove the old key: host key changed

A reinstall erases the server, so only use it on a server you just ordered. If SSH itself fails, our guide to SSH connection errors covers each message.

06Why Does Remote Desktop Drop When AmneziaVPN Is On?

If you also rent a Windows RDP and connect to it while AmneziaVPN runs on your PC, the RDP traffic goes through the VPN server. Some protocols built to get past filters pass TCP fine but break the UDP channel Remote Desktop switches to, so the session connects and then drops. Add your RDP server's IP to the app's split tunneling list so it bypasses the VPN, or turn UDP off in the Remote Desktop client: Remote Desktop disconnects right after login.

07What Is Allowed on a VPN Server?

A personal or team VPN is a normal use of a VPS. Our Terms of Service still apply to the traffic that leaves your server: no port scanning, spam, attacks or other abuse, whether you send it or someone you gave a key to. Outgoing mail on port 25 is blocked on every server. Give keys only to people you trust, and revoke them when they no longer need access.

Yes. Amnezia asks for 1 GB RAM, 10 GB of disk, KVM and a public IPv4 address. Our $3.90 Linux plan has 1 vCPU, 1 GB RAM, 10 GB NVMe, KVM and its own IPv4 address.

  • amneziavpn self hosted
  • amnezia vpn server
  • amnezia vpn vps
  • amneziawg server
  • own vpn server
  • vpn vps crypto
  • amnezia vpn setup

Keep reading

All articles