How to set up a VPN on Hetzner
We earn commissions when you shop through the links below.
Turn a Hetzner cloud server into your own WireGuard, AmneziaWG or VLESS VPN in about 10 minutes, without touching the terminal.
Is Hetzner a good fit for a VPN?
- The lowest cost for a dependable server
- A German or Finnish IP address
- Hetzner checks new accounts closely and sometimes asks for ID. Signing up through a VPN or with a free email address makes that more likely, so avoid both when you register.
Part 1: On Hetzner
Create a cloud server
In the Hetzner Cloud console, open your project and click Add Server.
Pick the location closest to you for the best speed, or the country whose IP address you need — see Hetzner's locations.
Choose the operating system
Ubuntu 24.04 or Debian 12 are the safest picks. Nullsify also supports Ubuntu 20.04 and 22.04, Debian 11 and 13, RHEL-family systems (AlmaLinux, Rocky Linux, CentOS Stream, RHEL, Oracle Linux, Fedora) and Alpine, on regular (x86) and Arm servers. Start from a fresh install with nothing else on it.
Pick a size
The smallest plan with 1 GB of RAM is plenty for a personal, family or small-team VPN. Serving more people? The capacity calculator shows how many users each size handles.
Set up the login
If you don't add an SSH key, Hetzner emails you the root password when the server is created.
Copy the IP address
The IPv4 address is shown on the server's overview.
- Keep the Public IPv4 option switched on. It costs a little extra, but Nullsify needs an IPv4 address.
- Arm servers (the CAX range) work too, and are often the cheapest option.
Part 2: In Nullsify
Add the server to Nullsify
In the dashboard, click the + next to Servers. Enter a name, the IP address, and the password — or choose Private key and paste your key. It's used once to install Nullsify's agent and is never saved.
Then pick a protocol. Not sure which? Take the 30-second protocol picker.
Wait for Active, then connect
Setup takes a few minutes. When the server shows Active, click Get Config and scan the QR code with the app for your protocol — the setup guide lists apps for every device.