Vpn + virtual machine

is there a way to make a vpn only work on virtualbox. i dont want my internet activity outside of the vm to be connected to a vpn. i dont want the vpns servers to know what im doing outside of the sandbox. i want my normal activity outside of the sandbox to go do my isps servers & evrything i do on the virtual machine to go to the vpns servers

You could install a vpn on the virtrual machine which would work. What is your host os? what os are you virtualizing?

Just run the VPN client within the VM and nowhere else.