easy , going into Network on the VM or CT you want to set the VLAN , set the VLAN Tag to 30 .
Now that VM will be on VLAN 30 , but now that bridge will contain untagged from the other VMs or proxmox , plus tagged traffic vlan from that VM.
But your router / switch port connected to your need to be a truck port , eg pass on all VLANs