Using OpenVPN within application code, process-private interface

This forum is for general conversation and user-user networking.
Post Reply
OpenVpn Newbie
Posts: 12
Joined: Thu May 12, 2011 1:57 pm

Using OpenVPN within application code, process-private interface

Post by beamerblvd » Fri May 15, 2020 5:01 pm

I would like to try to do something, but I don't know if it's even possible, so I'm hoping someone here can provide me with some guidance.

What I would like to do (or something extremely similar) is include/import an OpenVPN header file / class library / something into my C++/C#/Java application and use that imported resource to establish a connection to an OpenVPN server. This "connection" would be "process-private," that is, the running process in my application would see the virtual network interface (or whatever it ends up being) and be able to send communications over that interface, but other processes in the system would not know the interface existed.

Like I said, I don't know exactly how this would work, or if it's even possible, and I'm completely open to the details varying significantly, but that's my basic thought process. Is something like this even possible?



Post Reply