My VPN provider gave me an OpenVPN configuration. I'm on KDE so I can easily configure network manager to use this configuration.
Discord, however, is banned in my country. So I was thinking whether there is a program that serves VPN (this OpenVPN config file) and serve it as a local proxy on my machine so I can pass it to use it with Discord like discord --proxy-server socks://127.0.0.1 or whatever.
The main reason I want to do this is because I don't want my machine to be connected to VPN all the time just to keep Discord open. I want to route Discord's traffic through OpenVPN.
Is there any program on Linux (Kubuntu) like this? Thanks in advance.