When you configure VM' network adapter, you assign it either to physical network card on the host (Bridge mode), to a NAT, or nowhere.
When your host is connected over VPN, there is another network adapter (tunneling), which caries on the traffic over to the VPN server. If you assign your VMs to that adapter, they will have connection only if this adapter is connected.