One Public IP to Any or All VMs

dinkster07

New Member
Dec 4, 2024
1
0
1
I have a Proxmox server's NIC plugged into a broadband modem, whose port has a dedicated, static public IP from my ISP. The PM NIC is 'enp2s0' in the network configuration of the PM GUI. The Linux bridge is 'vrmb0'. The config for vrmb0 has enp2s0 as the bridge port, IPv4 is the static public IP/29 given by my ISP, and the IPv4 gateway is my ISP's gateway.

I have a Debian 12 VM with Nethserver 8 on it. The VM's hardware config for the network device is 'vrmb0'. I can access the PM GUI using https://public IP:8006, but I don't know how to access the Nethserver 8 VM. Normally you would use https://public IP/cluster-admin/ or https://domainname/cluster-admin/, but this doesn't work with the PM VM. After starting the VM, then looking at its summary in the PM GUI, it has a local IP address of 192.168.1.115/24. Seems to me like port forwarding would be necessary, to be able to access the Nethserver GUI, Nextcloud, and websites on the Debian VM. It's not like I can access the VM's network configuration and assign it the public IP that's configured in vrmb0. There's only one public IP from my ISP that I can use to access any VM on my Proxmox box.

Note: I can only access the PM GUI using https://public IP:8006 from a computer on my office's LAN, since that's where I created and initially tested the PM server. Its NIC used to just be plugged into our network switch and have a local IP (e.g., 192.168.1.1/24), but after initial testing I moved it and plugged it directly into the broadband modem port and gave it the public IP address. I suppose PM recognizes my MAC address or office's public IP, because it allows me access from my office. Trying to access the PM GUI from my home, I get blocked. I'm guessing there's some config file in PM where you can allow GUI access from recognized IP addresses?

Thanks for any help you can offer me.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!