Install a standalone Proxmox VE node on a Hetzner dedicated server directly from its Linux rescue system, using the original upstream ISOs.
⭐ Found this useful? Support open-source and star this project:
Run pve-install-hetzner over SSH. It turns your settings into a Proxmox answer file and boots the official installer in a temporary VM inside rescue. The VM writes directly to the physical disks you select. When you reboot, the server runs Proxmox VE from those disks and applies your network settings before networking starts.
Usage From rescue to first login Network designs PVE gateway, flat network Firewall gateway, optional subnetting Scripted installation
From rescue to first login
Network designs PVE gateway, flat network Firewall gateway, optional subnetting
PVE gateway, flat network
Firewall gateway, optional subnetting
Scripted installation
Disk firmware and Secure Boot
Network and repository settings
FAQ How do I choose the private IPv4 subnets during installation? How do I change a private IPv4 subnet after installation? With the PVE gateway (flat network) With the firewall gateway (optional subnetting) How do I expose a VM to the internet? With the PVE gateway (flat network) With the firewall gateway (optional subnetting) How do I add a workload subnet? How do I download the Proxmox VE ISO from another URL?
How do I choose the private IPv4 subnets during installation?
How do I change a private IPv4 subnet after installation? With the PVE gateway (flat network) With the firewall gateway (optional subnetting)
With the PVE gateway (flat network)
With the firewall gateway (optional subnetting)
How do I expose a VM to the internet? With the PVE gateway (flat network) With the firewall gateway (optional subnetting)
With the PVE gateway (flat network)
With the firewall gateway (optional subnetting)
How do I add a workload subnet?
How do I download the Proxmox VE ISO from another URL?
Troubleshooting Installation and boot errors Missing UEFI boot entries
Installation and boot errors
Missing UEFI boot entries
Licensing, copyright Trademarks
Install over SSH using the original PVE ISOs, without Hetzner's installimage or a remote console requested from support.
Use PVE as the guest gateway or route workloads through a firewall VM.
Install on a ZFS mirror (the default) or choose another disk layout.
Choose BIOS or UEFI for the installed disks independently of how rescue booted.
The CLI runs as root in Hetzner's rescue system (Debian 13 (Trixie) or newer). Activate Linux 64-bit rescue in Hetzner Robot, reboot the server and connect with ssh -t root@SERVER_IP . Install the CLI in rescue using Debian's pipx.
The CLI requires Python 3.12 or later. The Debian 13 rescue image we tested included Python 3.13 and offered pipx through APT. For an unpublished build, see testing a local wheel .
Please check that the server meets the requirements:
Host and network. Use an x86-64 server with KVM enabled, a physical public uplink and a primary IPv4 address. Additional physical NICs can be pinned by MAC address. Keep Secure Boot disabled so Robot rescue remains available.
Target disks. Choose writable whole disks of at least 16 GiB that meet the layout requirements . Native 4K-sector disks require a UEFI target. Mounted partitions, active swap or other block devices using a disk prevent exclusive access in rescue.
From rescue to first login
Install the CLI in rescue and run pve-install-hetzner in an SSH terminal. Use tmux if the connection is unreliable.
Install the CLI in rescue and run pve-install-hetzner in an SSH terminal. Use tmux if the connection is unreliable.
Choose a network design . Review the selected disks in order, their serial numbers, the boot mode and the management address. Supply your workstation's public SSH key for root access to the installed host.
Choose a network design . Review the selected disks in order, their serial numbers, the boot mode and the management address. Supply your workstation's public SSH key for root access to the installed host.
Choose Continue installation , set the root password and type the displayed ERASE phrase. This authorizes overwriting the selected disks. The installer then downloads the ISO if needed, verifies it and installs Proxmox VE.
Choose Continue installation , set the root password and type the displayed ERASE phrase. This authorizes overwriting the selected disks. The installer then downloads the ISO if needed, verifies it and installs Proxmox VE.
When installation succeeds, run systemctl reboot . Open the URL printed by the installer and sign in as root@pam with the password you set. See web access for direct HTTPS and SSH tunnels, or installation and boot errors if SSH reports a changed host key.
When installation succeeds, run systemctl reboot . Open the URL printed by the installer and sign in as root@pam with the password you set. See web access for direct HTTPS and SSH tunnels, or installation and boot errors if SSH reports a changed host key.
PVE gateway, flat network
The guest subnet defaults to 192.168.200.0/24 . To change it, use the wizard or set network.guest-subnet in the answer file. PVE masquerades outbound guest IPv4 traffic. With guest IPv6 enabled, PVE advertises the routed /64 on the guest bridge for automatic addressing. By default, the host filters incoming connections to guests in both address families.
Firewall gateway, optional subnetting
The installer creates an isolated transit network for a firewall VM, such as OPNsense or another virtual appliance. Create the VM, attach its WAN to fw0wan and select DHCP.
The transit subnet defaults to 192.168.199.0/30 . PVE uses 192.168.199.1 , and Proxmox SDN leases 192.168.199.2 to the firewall WAN. To use another private /30, select it in the wizard or set network.firewall.transit-subnet in the answer file. Allow private IPv4 addresses on the firewall WAN.
Attach the firewall VM's LAN interface to lan0 and choose the workload subnets on the appliance. The diagram uses 192.168.200.0/24 for lan0 and 192.168.201.0/24 for lan1 . Give each LAN a subnet that does not overlap the transit subnet or another LAN. PVE masquerades the transit address, so enable outbound IPv4 NAT on the appliance for private workloads. Proxmox classifies SDN IPAM and DHCP as technology previews.
PVE retains TCP 22 and 8006, IPv4 echo requests and required control traffic by default. Web access still follows access.web . With guest IPv6 enabled, configure fe80::2/64 on the appliance WAN and use fe80::1 on that link as its IPv6 gateway. PVE routes your selected service addresses or prefixes to it. Management remains reachable while the appliance is offline. Proxmox SDN and DHCP
Scripted installation
Use a pve-install-hetzner answer file to settings across servers. Put schema-version = 3 before the first TOML table. Save this partial example as fleet.toml in rescue and put your workstation's public SSH key in keys/admin.pub beside it. Relative file paths resolve from the directory containing the TOML file.
Replace the example administration addresses with the public source addresses that the installed server will see from your network or VPN.
For a firewall VM, replace the [network] table in that file. This example keeps public IPv6 on the PVE host and reserves TCP 22 and 8006 for management.
Use pve-install-hetzner plan --answer-file fleet.toml for a preview. To keep the reviewed settings for one server, choose a separate output file. On a terminal, enter the missing hostname and choose the disks in order. The guide prompts for missing required values individually, groups optional settings and lets you edit supplied values during review.
Check disk serial numbers, firmware, MAC addresses and routes. plan installs any missing preview tools in the live rescue system and only inspects the server's disks. Save the answer file in rescue, for example under /root . It contains the reviewed settings and any credential references. Only install reads the root credential. Install from the reviewed file when ready.
Host ( [host] ) holds fqdn , email and timezone .
Access ( [access] ) takes either ssh-public-key or ssh-public-key-file . Use root-password-hash-file or root-password-file for the root credential. Set web and, for the allowlist mode, web-allow-from for web access .
Storage ( [storage] ) takes a layout and an ordered disks array of whole-disk paths. Prefer the stable names under /dev/disk/by-id/ .
Installation ( [installation] ) holds pve-version , target-firmware , repository and an optional local iso path. Use "latest" to follow the newest bundled ISO or an exact build such as "9.2-1" to pin a server. Saving reviewed answers preserves that choice.
Network ( [network] ) sets gateway , ipv6 , the physical uplink-name (default nic0 ), uplink-bridge (default hetzwan0 ) and guest-bridge (default vmbr0 or lan0 ). Set guest-subnet for the flat network. Ordinary bridge names allow up to ten ASCII letters, digits or underscores and must start with a letter. Map additional ports by MAC in [network.nic-pins] . Public addresses, gateways and the uplink MAC come from rescue.
Firewall network ( [network.firewall] ) sets the SDN resources and IPv4 management exceptions shown above. Pick distinct zone and VNet names of two to eight ASCII letters or digits starting with a letter. With ipv6 = "host-and-guests" , supply routed-ipv6 as an array of public service addresses or prefixes routed to this server. Exclude PVE's own address.
For an unattended installation, set root-password-hash-file in the existing [access] table to the path of a file containing one Linux crypt hash, such as a SHA-512 crypt or yescrypt hash. Alternatively, set root-password-file to the path of a one-line plaintext password. Keep the credential file readable only by root. Either credential reference accepts "-" for standard input. Passwords and hashes belong in the credential source.
Passing --unattended explicitly authorizes erasure without a terminal prompt for this invocation. Supply a complete node file with the ordered disks and one credential reference.
An unattended installation leaves the machine in rescue until you reboot it.
Both commands install missing Debian packages for SSH key validation and hardware discovery. After review, install adds the tools needed for the selected installation and boot checks. It uses OpenSSL for a plaintext root password. If package setup is interrupted or reaches its 30-minute limit, the active package operation finishes before the installer exits.
In [storage] , set layout and list whole-disk paths in the disks array in the intended order.
All selected disks must have the same logical sector size. For mirrors and RAIDZ, each disk's capacity must be within 10% of the first disk's capacity. For RAID10 this tolerance applies within each mirrored pair. The native LVM layouts name their volume group pve . First boot with a second attached volume group named pve has no test coverage. See how to test a storage layout .
Disk firmware and Secure Boot
installation.target-firmware selects the bootloader installed on the target disks. The default is auto . Both plan and install show how rescue started and which boot mode the installed disks require.
For example, if rescue used legacy PXE and you intend to boot the disks with UEFI, set target-firmware = "uefi" in [installation] . Before installing, confirm the server is configured to boot its disks in the selected mode. A BIOS target requires legacy boot support (CSM on UEFI hardware). Some Hetzner models support UEFI only .
Keep Secure Boot disabled for a UEFI target. Enabling it prevents Hetzner Robot rescue from starting . The installer uses temporary EFI variables and checks the fallback loader at EFI/BOOT/BOOTX64.EFI on each disk. The server firmware determines whether those disks appear in its boot .
If UEFI rescue reports Secure Boot enabled , both commands report a blocked installation and exit unsuccessfully. If EFI variables are unreadable, the plan reports unknown . Legacy BIOS rescue cannot observe the UEFI setting. In either case, check the setting in firmware before booting a UEFI target.
Network and repository settings
The installer defaults to host-only when rescue has usable public IPv6, or off otherwise. Link-local IPv6 still works between guests on the same LAN. Each workload LAN using SLAAC needs its own routed /64. Hetzner IPv6 routing
With the firewall gateway, host-tcp-ports applies to the host's public IPv4 address. Retain TCP 22 for SSH and TCP 8006 for direct HTTPS over IPv4. IPv6 management uses the host's own address.
In allowlist mode, put at least one numeric IPv4 or IPv6 address or CIDR network in access.web-allow-from . Use the network address for each CIDR. Omit this field in the other modes. The installer sets native pveproxy POLICY=deny and ALLOW_FROM to those sources plus IPv4 and IPv6 loopback. Other connections to the web UI and API are rejected before TLS. SSH stays reachable according to your existing host and Hetzner firewall rules. An SSH tunnel from a host with SSH access can still reach the loopback endpoint.
For direct HTTPS, open from your workstation. If you filter incoming traffic, allow TCP 8006 from your administration network. For tunnel access, use the private key matching the public key you supplied during installation. Leave this command running and open .
Under Storage and boot → Proxmox VE version , choose a bundled ISO or keep Latest supported (the default). The bundled (and tested) builds are 9.3-1, 9.2-1 and 9.1-1. The 9.0-1 ISO lacks the required interface-name pinning.
For a newer stable 9.x ISO, choose Enter a newer 9.x build or set installation.pve-version to the exact build. The preview checks the filename against Proxmox's signed checksum list. These builds are untested with this installer but should work. A new PVE major version (10.X) requires a tool update.
How do I choose the private IPv4 subnets during installation?
Choose the gateway design first. Under Installation settings , edit the field for that design, or set it in your answer file .
Enter the network address with its prefix length. PVE takes the first usable address. The firewall transit needs a private /30, and the firewall WAN gets the second usable address by DHCP. Choose each workload LAN's subnet on the firewall VM when you configure it. Pick ranges that do not overlap each other or networks you reach over a VPN.
How do I change a private IPv4 subnet after installation?
With the PVE gateway (flat network)
On PVE, change the guest bridge address in /etc/network/interfaces . For example, set vmbr0 to 192.168.210.1/24 and use that address as the guests' default gateway. Update the subnet in /etc/pve-install-hetzner/gateway.nft and any guest addresses in publish-ipv4.nft , then check and load the rules . Apply the bridge change with ifreload -a and update the guests' addresses and routes.
With the firewall gateway (optional subnetting)
To change a workload LAN , update its interface address, DHCP range and address-specific rules on the firewall VM. Renew guest leases and update static addresses and gateways. Guests stay attached to the same VNet.
To change the WAN transit subnet , schedule a brief firewall outage. In Datacenter → SDN → IPAM , remove the old firewall WAN mapping. Under VNets , replace the subnet on fw0wan . For 192.168.198.0/30 , use 192.168.198.1 as the gateway and 192.168.198.2 for both DHCP range endpoints. Leave SDN SNAT disabled. Apply the changes and map the WAN MAC to the new lease in IPAM. On PVE, replace the old WAN address throughout /etc/pve-install-hetzner/gateway.nft and load the checked rules. Renew the firewall's WAN lease, then test outbound access and any published services.
How do I expose a VM to the internet?
With the PVE gateway (flat network)
Give the workload a stable address. For HTTPS over IPv4, point its DNS A record at the host's public address. On PVE, add a DNAT rule to /etc/pve-install-hetzner/publish-ipv4.nft , substituting your addresses and bridge name. The forwarding policy permits connections published this way.
For HTTPS over IPv6, enable host-and-guests , point the AAAA record at the guest's public address and allow TCP 443 to that address in /etc/pve-install-hetzner/publish-ipv6.nft .
Check and load the installer table on PVE. Allow the port in any upstream and guest firewall rules, then test from outside the server.
With the firewall gateway (optional subnetting)
Point the A record at the host's public IPv4 address. On the appliance, forward TCP 443 to the workload, or run a reverse proxy that serves the application. For IPv6, point AAAA at a routed service address. Allow HTTPS to the guest that owns it, or assign it to the reverse proxy.
How do I add a workload subnet?
Use the firewall gateway to route traffic between workload LANs. For example, if lan0 uses 192.168.200.0/24 , add 192.168.201.0/24 on lan1 as follows.
In Datacenter → SDN , create VNet lan1 in zone0 and apply the change.
Add a NIC on lan1 to the firewall VM. Assign it 192.168.201.1/24 in the appliance and configure DHCP and inter-LAN rules there.
Attach workloads for the new subnet to lan1 . PVE needs no address on either workload LAN.
How do I download the Proxmox VE ISO from another URL?
Set PVE_INSTALL_HETZNER_ISO_BASE_URL to an HTTPS directory containing the official ISOs under their original filenames. Use a URL without credentials, a query or a fragment.
plan shows the resolved URL. install downloads the ISO and checks its SHA-256 before erasing disks. A mirror supplies only the ISO. For unlisted builds, rescue also needs access to the official Proxmox server for the signed checksums. To use a local ISO, set iso in [installation] to its path. Omit pve-version to identify a bundled ISO by checksum, or set it to require a match. For an unlisted local ISO, supply the exact build.
Installation and boot errors
The installer stopped. Read the error in rescue and inspect the serial log ( /root/pve-console-*.log ) before rebooting. Recheck the selected disks before retrying.
SSH reports a changed host key. Rescue and the installed host have different keys. Use a Hetzner remote console to verify the fingerprint with ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub before accepting it.
Proxmox booted, but SSH is unreachable. Request a remote console from Hetzner support. Run journalctl -b -u proxmox-first-boot-network-pre -u networking and compare the uplink MAC address and public routes with the plan.
First boot reports a ZFS root-pool error. Inspect journalctl -b -u proxmox-first-boot-network-pre . Correct the reported cause, then run systemctl restart proxmox-first-boot-network-pre.service .
Another OS booted. Use the firmware's one-time boot to select an installation disk in the planned firmware mode .
Missing UEFI boot entries
If the firmware lists network boot but neither mirror disk, request a remote console from Hetzner support. Check that the server is in UEFI mode with Secure Boot disabled. Boot Linux rescue in UEFI mode and confirm /sys/firmware/efi exists. Run efibootmgr -v to inspect the boot entries. Register each missing disk using its actual path by serial number. On this installer's GPT layout, partition 2 is the EFI System Partition.
Match each entry's GPT partition UUID against lsblk -o NAME,SERIAL,PARTUUID . Use efibootmgr --bootorder with this server's entry numbers. Keep IPv4 PXE first, followed by the mirror disks and any other entries you need. To test one disk for a single boot, use efibootmgr --bootnext with its entry number. After reboot, bootctl status identifies the EFI partition that loaded systemd-boot.
See the contribution guide to report issues or submit changes. To report a vulnerability privately, follow the security policy .
Copyright (c) 2024-2026, foundata GmbH
This project is licensed under the GNU General Public License v3.0 or later (SPDX-License-Identifier: GPL-3.0-or-later ), see LICENSES/GPL-3.0-or-later.txt for the full text.
The REUSE.toml file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the REUSE specification . You can use reuse spdx to create an SPDX software bill of materials (SBOM) .
Third-party trademarks used in this repository:
Debian® is a trademark of Software in the Public Interest, Inc., registered in Germany and the United States.
Hetzner® is a trademark of Hetzner Online GmbH, registered in the European Union.
Linux® is a trademark of Linus Torvalds, registered in Germany, the European Union and the United States.
Proxmox® is a trademark of Proxmox Server Solutions GmbH, registered in Germany and the United States.
Their use here is purely descriptive and does not imply any affiliation with or endorsement by the trademark holders.
Own and licensed trademarks used in this repository:
foundata® is a trademark of IPAM GmbH , registered in Germany and the European Union, licensed to foundata GmbH .
This project was created and is maintained by foundata .
proxmox-pve-installer-hetzner is not associated with Proxmox Server Solutions GmbH nor the official Proxmox Virtual Environment (PVE) project.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
