I have created application which is connecting to VPN server using OpenVPN Community, it is working fine and connecting and disconnecting to VPN server properly, here I have another requiement.
Using the same code I want to Split and Tunnel the VPN connection, I have googled a lot but did not get any solutions.
Here is the code for connecting VPN Server using OpenVPN:
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo
{
WindowStyle = ProcessWindowStyle.Hidden,
FileName = @"C:\Program Files\OpenVPN\bin\openvpn.exe",
Arguments = "--config server.ovpn --auth-user-pass ovpnpass.txt",
Verb = "runas"
};
process.StartInfo = startInfo;
process.Start();
I want to use VPN is specific application.


