1

We use an openvpn tunnel to access the internal APIs, but the openvpn doesn't allow us to connect to any external sites which is a bit of an issue when I need to call external APIs in my service. Ideally I want to turn on the openvpn but instead of routing everything through it, I only want a socks5 port as a tunnel, and then I can programmatically control my service to call the internal APIs via the socks5 port and the external APIs via the internet directly. How would I be able to do it? I am working on an ubuntu 18.04 server.

0 Answers0