How do I put VMs on a different subnet with DHCP?

80HD-0

New Member
Dec 26, 2025
5
1
3
I want to do a VPN that only has access to one VM, and not the rest of my LAN (server is a homelab, there's another non-proxmox server with some open services). It seems that proxmox firewall does not work for non-proxmox applications and/or does not filter the VPN connections. I was going to put my VMs on a different subnet, but microsoft copilot is stupid and can't figure it out. I got another VMBR interface up, and disconnected but still with internet, but for some stupid reason DHCP won't work and I don't want to manually go into a VM and set the static IP if I don't have to... linux VMs seem to always get the same IP after a restart with DHCP anyway, so this does seem like my solution.

I also tried nftables to do the same subnet but it felt messy and also seemed to not get overridden by the proxmox firewall.

If there's a better way to achieve the same effect, I'm all for it. Cranked away at this for HOURS, I hate copilot.