Install Proxmox on a Hetzner Dedicated Server with 1 IP using SDN and without KVM using QEMU

Discussion topic for Install Proxmox on a Hetzner Dedicated Server with 1 IP using SDN and without KVM using QEMU

image

Difficulty: Intermediate

Going from the Hetzner Rescue System to Proxmox with only 1 IP, full DHCP, no KVM Console access and port forwarding all in one easy to follow guide

Originally published at: Install Proxmox On A Hetzner Dedicated Server With 1 IP Using SDN And Without KVM Using QEMU - CyanLabs

1 Like

Hi,

some quick notes:

The lines

iptables -t nat -A PREROUTING -p tcp -d 123.123.123.123 --dport 443 -i vmbr1 -j DNAT --to-destination 10.0.0.10:443
iptables -t nat -A PREROUTING -p tcp -d 123.123.123.123 --dport 80 -i vmbr1 -j DNAT --to-destination 10.0.0.10:80

are incorrect if you follow the previous instructions. It should be vmbr0 on both lines.

Small typo in the following lines:

post-up iptables -t nat -A PREROUTING -p tcp -d 123.123.123.123 --dport 443 -i vmbr1 -j DNAT --to-destination 10.0.0.10:443
post-ip iptables -t nat -A PREROUTING -p tcp -d 123.123.123.123 --dport 80 -i vmbr1 -j DNAT --to-destination 10.0.0.10:80

Second one should be post-up as well obviously.

After adding the iptables prerouting part, I am not able to reach my container. I can get out allright. I wonder why i can’t reach it though. At first I thought it might be that ip forwarding must be activated, but changing that didn’t help.

I figured it out btw. The problem was (as always) the Hetzner firewall :upside_down_face:

Thank you for the tutorial.

Hello and thanks for that awesome tutorial, now i have a question, can SDN be used to assign IPv6 address to VM’s, as hetzner /64 IPv6 can be useful for some projects, thanks in advance.

Thanks, will update the guide

Hi, is this for UEFI or legacy BIOS?

Hi,
great guide!
Small hint: you missed the SSH portforwarding on the UEFI in this section:

am i missing something? the link you highlighted is in both bios types
image
i’ve added the hostfwd though

1 Like

Forgive me for being an idiot, I am still a bit new to this.

After the apt-get -y install sshpass step, is there an easy way to copy and paste the configure the network interfaces code into VNC?

I’d manually type it out but I will definitely make a typo :joy:

You don’t paste it in to VNC, you use SSH