How can I access Proxmox Virtual Network outside of Proxmox?

libtech

New Member
Aug 27, 2025
10
0
1
I created a Bridge (vmbr2) with subnet 10.20.30.1/24 for VMs. I assigned the new virtual network to VMs, such as a Windows and a Linux VM, and from the VMs, I can access the internet and ping the Proxmox server (192.168.1.100); however, I can't ping the VM (10.20.30.21) from Proxmox (192.168.1.100), nor can I access the web server from my laptop (192.168.1.68). What configuration do I need to make to the network in order to access the web server from a Linux VM? I am attaching the virtual network's screenshot. Thanks
 

Attachments

  • proxmox_VN.png
    proxmox_VN.png
    40.8 KB · Views: 5
The answer to this is not so easy: If the VMs are only on vmbr2 (which for lack of a physical interface is purely virtual and does only exists within the PVE scope now), then who allows them accessing the internet? If 192.168.1.1 is your only gateway, then there must be "something" that connects 192.168.1.0/24 and 10.20.30.0/24, maybe through NAT.

Apart from that, you could give your PVE host a free IP within 10.20.30.0/24, but no gateway (!) in order to attach it to that network. This will only but only itself to acess the other IPs. On the flop side, this can give some strange effects, especially, if you used some trickery in /etc/network/interfaces to make internet access for 10.20.30.0/24 work.

The better approach would be to leave this as-is on PVE, but to allow routed access on "whatever" now connects both networks. If it is a firewall or router of sorts, you can configure that. If it does NAT, you will have to create appropriate port forwards.
 
Last edited: