Browser with OpenVPN support?

I don’t want my entire computer to be behind the VPN, but I want to be able to configure the browser to route all its traffic through my VPN. Is this possible in a browser?

Not sure what VPN server you have, but maybe a split-tunnel VPN is supported? Not just for subnets but per application, like NordVPN has.

Run a VM and configure OpenVPN on it, then open a port and run any browser through the configured proxy.

That’s way more work than I’m looking for. I just want to drop my .ovpn file into a browser and have the browser be the client.

I am trying that. I have set up OpenVPN on a VM on DigitalOcean. Now I do have an .ovpn that I have used to create a mobile application VPN, which is working perfectly. Additionally, I have set up SOCKS5 proxy on that VPN. Now, when I run the command curl --proxy http://<my_vm_Ip> https://www.youtube.com/~, I get a large response that is essentially the YouTube page. But I am stuck now on how to connect my browser to the VPN setup on OVPN.

I’m not aware of any browser that supports this directly. Good luck.