On Ubuntu 26.04 VM traffic does not go through VPN

I have Ubuntu 26.04 VM on Windows 11 Home. The same VPN is set up on Windows and Linux. in VirtualBox networking settings I set 1 bridged adapter cable connected and 1 host-only adapter cable connected. I don't know if my traffic does not go through VPN or if it's a VPN issue, but I use Happ VPN and when I connect, my browser says the connection has timed out or my IP doesn't change. Also when I…