im using ubuntu 22.04 CLI on a VPS and using it with SSH. i installed the express vpn client and activated it using my activation code.the problem is, i cant actually use my vps when the vpn is active, because it tunnels the whole network through the vpn's network interface (something like that) which makes ssh to stop working properly amd you wont be able to connect again.
now, my idea is to "somehow" block the whole expressvpn's network interface logic and make it "act" as a proxy server. like a socks proxy server. this way i can tunnel any app, code or website i want to the vpn interface without any problems. (as i have been doing it for years now)
but the problem of mine is that i have no idea how it is possible, or what should i even use to begin with. i have a little exprience on ip and network based stuff but im sure it is something someone can achieve.i searched a lot, and came up with this one in github:https://github.com/realityone/express-ss-vpn
though i couldnt even test it to see if it is what i want because i dont have access to docker(its blocked here), but it may be a good starting point for this ideathanks to anyone who helps.