Help with understanding VM's on Proxmox hosted on Hetzner with 1 static IP address.

Skylix001

New Member
Mar 7, 2023
3
0
1
Hi all

New to the platform and I just cant seem to wrap my head around the configuration of setting up an environment on PROXMOX.

What I wish to accomplish is to have 3 VM's (Windows 10) machines running on a AX41 server.
ive got a single static IP address XXX.XXX.XXX.XXX/26
I also would like to access these machines via RDP using a sequenced port number set e.g: :13389,23389 and 33389.

Over the last few days ive managed to setup Proxmox hypervisor, created the vmbr0 interface but I can not get the windows vm's to connect to the internet.

ive seen a lot of posts asking the same question as mine but the fixes dont really work for me or they brick the Proxmox box and i need to reboot into recovery

any help would be greatly appreciated, basically
 
With just one public IP you might want to setup a OPNsense/pfsense VM between your PVE host and Win VMs. Or use a NAT setup and then port-forward those RDP ports from the host to the VMs.
 
  • Like
Reactions: Skylix001
With just one public IP you might want to setup a OPNsense/pfsense VM between your PVE host and Win VMs. Or use a NAT setup and then port-forward those RDP ports from the host to the VMs.
I've tried the NAT setup but every time I apply this the server looses connectivity and i have to run rescue disk to restore the connectivity, i assume there maybe more setup in the /etc/network/interfaces.d folder that i have not setup but i cant seem to understand what i need to setup there.
 
*UPDATE*
After some playing with settings ive managed to get the internal IP address 's to work on the 3 machines, i can see the Host, BareMetal and the internet.
managed to get windows updated and chrome installed.
ive read a few more articles on the NAT setup and port forwarding but i still cant seem to get it to work correctly.im very sure its a config / update /iptables that ive missed.

eg>
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere Proxmox-VE.yourdomain.localdomain tcp dpt:13389 to:10.10.10.2:13389
DNAT tcp -- anywhere Proxmox-VE.yourdomain.localdomain tcp dpt:23389 to:10.10.10.3:23389
DNAT tcp -- anywhere Proxmox-VE.yourdomain.localdomain tcp dpt:23389 to:10.10.10.4:33389
DNAT tcp -- anywhere Proxmox-VE.yourdomain.localdomain tcp dpt:13389 to:10.10.10.2

Ive also requested a second IP address so if this can point me to a tutorial that covers this it would be highly appreciated.