Self-hosted app·VPN servers and mesh networks
Self-hosting NetBird on a VPS in the Swiss Alps.
Run a NetBird VPS in ALP1, Swiss Alps: 2 vCPU, 2 GB RAM, 10 TB transfer. Ports, sizing, install steps and limits.
- WireGuard
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. A self-hosted NetBird control plane runs on our VPS Starter in ALP1, Swiss Alps: 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of transfer a month for $6.99. Since NetBird merged management, signal, relay and STUN into a single netbird-server container, the whole stack is three containers, one domain name and three open ports. The figure to watch is memory. Two gigabytes is exactly NetBird's published minimum: enough for the default build with its embedded user store and SQLite, too little if you also want Zitadel, Keycloak or Authentik on the same VM, in which case order Standard (4 vCPU, 4 GB) for $12.99.
The other thing to understand before ordering is that the server carries little of your traffic. Peers connect to each other directly over WireGuard; the VPS only moves the bytes of connections that fall back to its relay, or that you route through it on purpose as an exit node. NetBird earns its place when you want per-user login, groups and access policies across a dozen or more devices.
02/07
What NetBird is and who builds it.
NetBird is an overlay network built on WireGuard, with access control managed from one place. Every device runs an agent that configures its WireGuard interface. The management service holds the network state (peers, their addresses in 100.64.0.0/10, groups, policies, DNS settings, setup keys) and pushes changes to the agents. To connect, two peers gather candidates with ICE and STUN, exchange them through the signal service and punch through NAT. When that fails they fall back to the relay, which in the default self-hosted layout is a WebSocket on TCP 443 behind Traefik. Relayed packets remain WireGuard-encrypted between the two peers, so the relay forwards ciphertext it cannot open.
The software comes from NetBird GmbH in Berlin (HRB 237529 B, Amtsgericht Charlottenburg), which also sells a hosted version. The clients are BSD-3 licensed; since v0.53.0 the management, signal and relay code is AGPLv3, which creates obligations only if you modify the server and let others use it over a network. The current stable release is v0.81.4, published on 24 October 2026. Releases come quickly — v0.81.0 to v0.81.4 took nine days — so budget time for updates.
One default deserves a decision on a privacy-minded install. The management server reports usage statistics to NetBird unless disableAnonymousMetrics is set to true in config.yaml, and it downloads a GeoLite database for location-based posture checks unless disableGeoliteUpdate is set. Neither carries your traffic, but both are outbound calls you should choose rather than inherit.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Why people put it on ALP1.
NetBird servers are usually rented from Hetzner, DigitalOcean or OVH, and for some readers that has become the problem. heise reported in June 2025 that from 9 June, Russian providers were throttling connections to Cloudflare and, apparently, to DigitalOcean, Hetzner and OVH, passing roughly the first 16 KB of each transfer and stalling the rest. A dashboard session, a gRPC stream to the management service or a relay connection does not survive that. Be clear about the tool as well. NetBird is not designed for censorship circumvention; its direct connections are plain WireGuard, which deep packet inspection recognises, and its fallback is the relay on TCP 443 at your own domain. Leave that DNS record unproxied — NetBird's guide asks for "DNS only" in any case, and a CDN in front would route you back through the network that was throttled.
The legal position is simpler to state. The VM sits in ALP1 and is operated by Hosta AG, a Swiss société anonyme in Riehen, so Swiss law governs it. The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so an EU company can keep its staff's NetBird accounts here without additional safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. The revision of the surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 was not in force on that date, and the Federal Council has announced a second consultation. Our offshore hosting page covers the rest.
What NetBird stores is personal data in the FADP sense: user e-mail addresses, device names, the public IP each peer connects from, and an activity log. You are the controller for that data, not us. If you enable NetBird's reverse proxy, its HTTP access logs are kept seven days by default (accessLogRetentionDays).
04/07
Requirements and sizing.
| NetBird's stated minimum | VPS Starter in ALP1 | |
|---|---|---|
| CPU | 1 CPU | 2 vCPU |
| Memory | 2 GB | 2 GB |
| Disk | not specified (SQLite store, three images) | 80 GB NVMe |
| Inbound ports | TCP 80, TCP 443, UDP 3478 | you open them on the VM |
| Address | public IP and a DNS name pointing to it | 1 IPv4 included, extra IPv4 $2/mo |
| Traffic | relay and exit-node traffic only | 10 TB/month included, 1 Gbps port |
Each port has one job. TCP 80 redirects to HTTPS; TCP 443 carries the dashboard, REST API, gRPC and relay through Traefik; UDP 3478 is STUN, which cannot pass through an HTTP proxy and has to be published directly. Guides written before the combined server also tell you to open UDP 49152–65535 for coturn. The current quickstart no longer runs coturn, so leave that range closed.
UDP 51820 is the port people ask about. The control plane does not listen on it. It matters once the VPS itself joins the network as a routing peer or exit node, because the NetBird agent's WireGuard socket defaults to 51820. NetBird is right that peers need no inbound ports in general, but on a server with a public IPv4 and nothing in front of it, allowing 51820/udp lets laptops behind carrier-grade NAT reach it directly instead of through the relay. NetBird's restore checklist also lists UDP 51820 once its optional reverse-proxy service is enabled.
An exit node is not: every byte your peers fetch leaves through our port and counts against the allowance. Spread evenly, 10 TB a month is about 30 Mbit/s around the clock (theoretical: 10 × 10¹² bytes × 8 ÷ 2,592,000 s). Unlike our dedicated servers, VPS transfer is a fixed monthly allowance rather than unmetered fair use.
Starter meets the stated minimum for an office of a few people or a homelab with a dozen devices. Move to Standard ($12.99: 4 vCPU, 4 GB, 160 GB, 15 TB) if you add an external identity provider, enable the reverse proxy with CrowdSec, or share the VM with other services.
05/07
Deploying it on ALP1.
- 01Deploy VPS Starter with Debian 13.
- 02Create an A record such as
netbird.example.compointing to the VPS IPv4 and wait until it resolves. The script only warns about an unresolved name, but certificates and client connections fail until it does. - 03Install Docker Engine from Docker's apt repository (Debian 13 "trixie" is on its supported list), plus
jqandcurl. - 04Fetch the installer for a fixed release, check its hash, and run it. Accept the default reverse proxy (Traefik with Let's Encrypt) when asked.
mkdir -p ~/netbird && cd ~/netbird
curl -fsSLO https://github.com/netbirdio/netbird/releases/download/v0.81.4/getting-started.sh
echo "0aee21c20f9731293bec6b0d1fc73cbbca29f03ef626636ed9d0c7d8261c92fc getting-started.sh" | sha256sum -c
export NETBIRD_DOMAIN=netbird.example.com
export NETBIRD_LETSENCRYPT_EMAIL=admin@example.com
bash getting-started.shThe script writes docker-compose.yml, config.yaml and dashboard.env and starts the stack.
- 05Open
https://netbird.example.com/setupimmediately and create the owner account. That page serves whoever reaches it first while no user exists, so do not leave a fresh install unclaimed. - 06Set
disableAnonymousMetrics: trueinconfig.yamland rundocker compose restart netbird-server. Replace the:latestimage tags in the compose file with the release you tested. - 07Enrol devices with
netbird up --management-url https://netbird.example.com.
Docker-published ports bypass ufw and firewalld, so a ufw deny will not close a port that Compose publishes. In the default layout only 80, 443 and 3478/udp are published; put any extra filtering in the DOCKER-USER chain, and restrict SSH to your own addresses or, once the VPS is a peer, to the wt0 interface.
What you cannot regenerate is the netbird_data volume (SQLite store, keys, state) together with config.yaml, which holds the key encrypting setup keys and API tokens. NetBird's procedure is to stop the stack, copy the volume with docker compose cp -a netbird-server:/var/lib/netbird/ backup/, add the three config files and start again. Send the archive to an S3-compatible bucket with restic, which encrypts before upload; the archive is as sensitive as a private key. A restore onto a new VM works under the same domain name without re-enrolling peers, so keep control of that DNS record. Daily VPS backups are a convenient second layer against a botched upgrade.
06/07
Cost.
| Item | Per month |
|---|---|
| VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 |
| Daily backups (+20 %) | ≈ $1.40 (calculated) |
| Object storage, 250 GB S3 bucket, no request fees, unlimited traffic | $1.99 |
| Extra IPv4, if needed | $2.00 |
| VPS Standard, if you outgrow Starter | $12.99 |
Starter with daily backups and a 250 GB bucket for restic comes to about $10.38 a month (theoretical sum). Paying yearly takes roughly 25 % off the VPS, which for Starter alone means $62.99 a year instead of $83.88. Everything else is on our pricing page. The open-source NetBird server costs nothing to licence; NetBird GmbH sells a commercial edition for enterprise features that this setup does not need.
Payment is in crypto only — Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins — with prices and balances in US dollars. Top-ups run from $25 to $5,000, and the minimum covers about three and a half months of Starter. A top-up earns a 5 % bonus from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part is refundable within 14 days. We are a no-KYC host: an email address is enough, and business customers paying in crypto are welcome.
07/07
Limits and acceptable use.
An exit node puts your users' traffic on the internet from our IPv4, so complaints about it reach us. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you, and you must remove the content or justify it; we act on a decision of a competent Swiss authority, or where content is manifestly unlawful, in line with the Swico Code of Conduct Hosting. File sharing is the usual trigger. Swiss law permits downloading a work for private use (software excepted) but not making it available online without permission, and a BitTorrent client uploads while it downloads, so seeding through a Swiss exit node counts as making available.
NetBird's reverse proxy publishes internal services on public subdomains from the same address, and whatever you publish that way is hosted by us. Under art. 39d of the Copyright Act, a host must stop a work from being made unlawfully available again only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. Those conditions are narrow, but they are one more reason to keep exposed services behind NetBird's SSO, password or PIN rather than open to anyone.
Swiss sanctions against Russia apply to us and to what runs on our machines. Since 26 February 2026, for example, providing crypto-asset services to Russian nationals, to people residing in Russia and to entities established there is prohibited, subject to the ordinance's exceptions; you may not use the VPS to provide such a service.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can the VPS operator read my NetBird traffic?
Not the content. WireGuard encrypts between peers, and relayed packets stay encrypted end to end. The server does hold metadata: which peers exist, the public IPs they connect from and when, and the changes recorded in the activity log. That data sits on your VM, under your root account and your responsibility as controller.
Do I need to open UDP 51820?
Only if the VPS also runs the NetBird agent as a routing peer or exit node, or if you enable NetBird's reverse-proxy service. The control plane itself needs TCP 80, TCP 443 and UDP 3478.
Is 2 GB of RAM enough for NetBird?
It is NetBird's stated minimum for the default stack with embedded users and SQLite. It leaves no room for a separate identity provider or other applications on the same VM; for those, take Standard with 4 GB.
What happens to my network if the VPS goes down?
Treat the server as a dependency. While it is unreachable, new devices cannot enrol, users cannot log in and new connections cannot be negotiated. With an off-site copy of netbird_data and config.yaml, a restore onto a new VM under the same domain brings peers back without re-enrolment.
Is NetBird free to self-host?
Yes. The clients are BSD-3 and the management, signal and relay components AGPLv3 since v0.53.0. You pay for the VM, not for NetBird.
Do I have to prove my identity to order?
No. An email address is enough to open an account, and payment is in crypto. The acceptable-use rules above still apply.
Sources
Every fact on this page, with its source
Accessed 3 Nov 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection (FADP), RS 235.1 — in force since 1 Sep 2023fedlex.admin.ch
- Swiss Federal Council, VÜPF/OSCPT revision — not in force, second consultation announced. Status 31 Oct 2026admin.ch
- Swiss Federal Institute of Intellectual Property, Urheberrecht im Internet — private download permitted (software excepted), making available is notige.ch
- Copyright Act (CopA/LDA), art. 39d, RO 2020 1003 — in force since 1 Apr 2020. Checked 31 Oct 2026fedlex.admin.ch · checked 31 Oct 2026
- SECO press release of 25 Feb 2026 and RO 2026 92 — ban on crypto-asset services to Russian nationals, residents and entities from 26 Feb 2026 (SR 946.231.176.72, art. 20(2))seco.admin.ch
EU and other countries
- European Commission, Adequacy decisions — review of 15 Jan 2024 confirming Switzerlandcommission.europa.eu
- US Department of Justice, CLOUD Act Resources — agreements with the UK and Australia only. Checked 31 Oct 2026justice.gov · checked 31 Oct 2026
Industry, providers and software
- NetBird, combined/config.yaml.example — disableAnonymousMetrics, disableGeoliteUpdate, accessLogRetentionDays default 7. Accessed 3 Nov 2026github.com
- NetBird releases — v0.81.0 (15 Oct 2026), v0.81.4 (24 Oct 2026, SHA-256 of getting-started.sh), reverse-proxy authentication options. Accessed 3 Nov 2026github.com
- NetBird README for v0.58.2 (older quickstart listing UDP 49152–65535). Accessed 3 Nov 2026pkg.go.dev
- Docker Docs, Install Docker Engine on Debian — Debian 13 supported; published ports bypass ufw/firewalld. Published 9 Sep 2026, accessed 3 Nov 2026docs.docker.com
- Swico, Code of Conduct Hosting — revised version published 13 Mar 2025, in force April 2025swico.ch
Other references
- NetBird Docs, Self-Hosting Quickstart Guide — 1 CPU / 2 GB minimum, TCP 80 and 443, UDP 3478, getting-started.sh, /setup onboarding, unattended variables. Updated 29 Oct 2026, accessed 3 Nov 2026docs.netbird.io
- NetBird Docs, Configuration Files Reference — traefik, dashboard and netbird-server services, STUN cannot be proxied, netbird_data volume, store encryption key, SQLite default. Updated 29 Oct 2026, accessed 3 Nov 2026docs.netbird.io
- NetBird Docs, Ports & Firewalls — no inbound ports for peers, WireGuard default UDP 51820, relay fallback on 443, 100.64.0.0/10 subnet. Updated 28 Sep 2026, accessed 3 Nov 2026docs.netbird.io
- NetBird Docs, Back Up and Restore — backup commands, UDP 51820 with the reverse proxy enabled, restore under the same domain. Updated 29 Oct 2026, accessed 3 Nov 2026docs.netbird.io
- NetBird, "NetBird Is Embracing the AGPLv3 License" — BSD-3 clients, AGPLv3 for management, signal and relay from v0.53.0. Accessed 3 Nov 2026netbird.io
- NetBird GmbH, Imprint — Berlin, HRB 237529 B. Accessed 3 Nov 2026netbird.io
- heise online, "The 16-Kbyte trick: Russian providers block foreign content again" — throttling since 9 June 2025, Cloudflare, DigitalOcean, Hetzner, OVH. June 2025, accessed 3 Nov 2026heise.de
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
