I currently have a node js express app being hosted on a oracle linux VPS. What I want to do is have my VPS traffic outgoing through a VPN via openvpn, but still allow connections so I can ssh into it as well as make api calls to my node js express app. I've tried some things from here but I always get kicked out of ssh after starting openvpn. Also I still want to be able to make API calls to my express app, which I assume would have a different way of connection or some other config I need to do to allow that as well, but I am a new user of linux so I don't know the best way to go about that.
↧