CyanLabs
(CyanLabs)
February 8, 2024, 9:03pm
1
Discussion topic for Install Proxmox on a Hetzner Dedicated Server with 1 IP using SDN and without KVM using QEMU
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
andrej235
(andrej235)
March 17, 2024, 5:37pm
3
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.
andrej235
(andrej235)
March 17, 2024, 6:49pm
4
I figured it out btw. The problem was (as always) the Hetzner firewall
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.
1 Like
CyanLabs
(CyanLabs)
March 20, 2024, 5:37pm
6
Thanks, will update the guide
nickyoung
(Nick Young (Nick))
April 2, 2024, 1:22pm
7
Hi, is this for UEFI or legacy BIOS?
Hi,
great guide!
Small hint: you missed the SSH portforwarding on the UEFI in this section:
CyanLabs
(CyanLabs)
June 26, 2024, 6:08pm
9
am i missing something? the link you highlighted is in both bios types
i’ve added the hostfwd though
1 Like
james1
(James)
July 7, 2024, 5:33am
10
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
CyanLabs
(CyanLabs)
July 7, 2024, 10:13pm
11
You don’t paste it in to VNC, you use SSH
That’s what I meant I highlighted the wrong part, my bad.
1 Like
Does anyone have information on this?