Is there anyway to have an application only connect to my VPN?

I was wondering if there was a way to set up some sort of configuration so if I have an application open, connected to the internet, it will only connect to the internet if there’s a VPN connection? When the VPN connection drops, it won’t connect to the internet.

Hi there. The closest thing we have to such a feature is our KillSwitch, which ensures that your internet connection is cut if the VPN connection drops for any reason. You can enable it by going to Settings > VPN Settings > Kill Switch in the Surfshark app.

If it’s about torrenting, qbittorrent can bind to the VPN interface so it can only work when the VPN is running. Otherwise for general apps you’ll need to configure the routing tables in the OS.