Privacy & Networking

Self-Host Your Own Private WireGuard VPN (wg-easy) on a VPS in 5 Minutes

wg-easy runs a full WireGuard VPN server + web UI in ~40 MB RAM. Co-host on Hostinger KVM 1 (~$5.19/mo with XF3PLUTARXVF) for secure admin access to all your Docker panels, or pair with ProtonVPN ($20 USD credit via code 5AA9X0DA) when you need multi-country Swiss no-logs egress.

Self-Host Your Own Private WireGuard VPN (wg-easy) on a VPS in 5 Minutes
RATE SHEET

Hardware Spec & Verified Rate Sheet: WireGuard (wg-easy)

November 22, 2026
Hardware Spec & Verified Rate Sheet: WireGuard (wg-easy)
Provider / TierHardware & ArchitectureListNet BenefitCodeLink
Hostinger KVM 1
Recommended for WireGuard (wg-easy)
1 vCPU AMD EPYC · 4 GB DDR5 · 50 GB NVMe · 4 TB$6.49/mo~$5.19/mo (-20%)Claim -20%
Proton (VPN & Privacy)
WireGuard + VPS Privacy
Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/PassSubscription$20 USD creditClaim $20
01 Open the link to bind XF3PLUTARXVF (-20%) or 5AA9X0DA ($20 USD).02 Pick 12/24-mo KVM VPS or Proton Plus/Unlimited.03 Deploy Ubuntu 24.04 + Docker + WireGuard tunnel.
01 / HARDWARE TELEMETRY

Measured RAM, vCPU & NVMe Profile for WireGuard (wg-easy)

Min → Rec RAM
1 GB → 2 GB
Idle 42 MB · Peak 110 MB
Min → Rec vCPU
1 → 1 vCPU
AMD EPYC / High-Clock
Min → Rec NVMe
10 → 25 GB
PCIe Gen4 NVMe SSD
Primary Bottleneck

VPS port bandwidth & geographic proximity to your devices

Projected Memory Footprint on Hostinger KVM 1 (4 GB RAM)Idle 4% · Peak 9% · Headroom 91%
02 / DOCKER COMPOSE & SHELL

Production Deployment Stack (WireGuard (wg-easy))

Docker Stack Sizer
docker-compose.ymlyaml
services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy:latest
    container_name: wg-easy
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
    ports:
      - "51820:51820/udp"
      - "127.0.0.1:51821:51821/tcp"
    environment:
      WG_HOST: ${VPN_PUBLIC_IP_OR_DOMAIN}
      PASSWORD_HASH: ${WG_BCRYPT_HASH}
      WG_PORT: 51820
      WG_DEFAULT_DNS: "1.1.1.1,9.9.9.9"
    volumes:
      - wg_etc:/etc/wireguard
    deploy:
      resources:
        limits:
          memory: 192M

volumes:
  wg_etc:
deploy-and-verify.shbash
sudo ufw allow 22/tcp && sudo ufw allow 51820/udp && sudo ufw --force enable
mkdir -p /opt/wg-easy && cd /opt/wg-easy
# Generate bcrypt hash (escape $ signs as $$ in compose .env):
docker run --rm ghcr.io/wg-easy/wg-easy wgpw 'YourStrongAdminPass'
docker compose up -d
03 / PRODUCTION FIELD NOTES

Critical Operational Insights

A personal VPS VPN gives you a dedicated static IP (great for SSH allowlisting), whereas commercial no-logs VPNs like ProtonVPN give you shared-IP anonymity across hundreds of exit servers.
04 / SECURITY & PRIVACY

UFW Firewall, TLS & WireGuard / ProtonVPN Hardening

Never expose port 51821 (the Web UI) to 0.0.0.0 — access it strictly via SSH tunnel (`ssh -L 51821:127.0.0.1:51821 root@vps`) or behind Caddy TLS.

Isolate container egress with ProtonVPN WireGuard + Proton Suite (US$20 in credits · code 5AA9X0DA).Claim US$20 on Proton
05 / VERIFIED DEPLOYMENT STACK

Deploy on Verified Infrastructure

KVM COMPUTE · EXTRA −20%

Hostinger KVM 1

~$5.19/mo
$6.49/mo
vCPU
1 EPYC
RAM
4 GB
NVMe
50 GB
24m Save
~$31
Renew: $9.99/mo · Free backups
SWISS PRIVACY · ACCOUNT CREDIT

Proton VPN & Unlimited

US$20
in credits
Tunnel
WireGuard
Docker
Gluetun + NAT
Suite
VPN·Mail·Drive
pr.tn/ref/5AA9X0DA

Frequently Asked Questions

Self-hosted WireGuard vs ProtonVPN: which do I need?

Use self-hosted WireGuard to securely reach private admin dashboards (Coolify, Postgres, Portainer) from a fixed IP; use ProtonVPN when you want third-party anonymity and Swiss no-logs privacy.

More blueprints in this category

All guides