Closed

Help me to connect OpenVPN Community for VPN Server using C#

I am trying to connect VPN Server using OpenVPN Community from my Desktop Application Developed in C#. The code was working fine and suddenly I am getting below error when connection is established.

Screenshot is attached,

Here is the code that was working earlier but not now.

string OpenVpnLocation = [login to view URL] ? @"C:\Program Files\OpenVPN\bin\[login to view URL]" : @"C:\Program Files\OpenVPN\bin\[login to view URL]";

Process process = new Process();

ProcessStartInfo startInfo = new ProcessStartInfo

{

//WindowStyle = [login to view URL],

FileName = OpenVpnLocation,

Arguments = "--config [login to view URL] --auth-user-pass [login to view URL]",

Verb = "runas"

};

[login to view URL] = startInfo;

[login to view URL]();

As per the error logs I understood that, route is already created and from this code it is creating another route, which throws an error, if so, then is there any way to handle it from C# code?

Thanks in advance!

Skills: C# Programming, Software Architecture, OpenVPN, Windows Desktop, .NET

See more: creating vpn server using pptp, openvpn multiclient vpn server, openvpn ubuntu vpn server, ipsec vpn server using fedora, vps openvpn autostarting vpn server fail, import data from excel to mysql server using c# windows application, connect excel to sql server using odbc, asp.net database connection with sql server using c#, import data from csv to sql server using c# in asp net, how to insert json data into sql server using c#, import data from excel to sql server using c# in asp. net, import data from excel to sql server using c# windows application, how to upload file to web server using c# windows form, how to save pdf file in sql server using c# windows application, how to store json data in sql server using c#, import data from excel to sql server using c# console application, fetch and read emails from pop3 mail server using c#, how to read email and download attachments from mapi mail server using c#, connect to exchange server using c#, openvpn connect waiting for vpn server

About the Employer:
( 0 reviews ) Ahmedabad, India

Project ID: #32270722

3 freelancers are bidding on average ₹11333 for this job

Anassandiya

Hi, I am Anas. With over 8 years of professional experience in creating Desktop applications and web/mobile applications, I believe I bring ample experience to the table with skills such as C#, .Net Core, APIs etc. I More

₹12500 INR in 7 days
(7 Reviews)
3.1
nro58aa912970690

I can solve your issue. Please give me a chance to work with you in this project. I have experienced in working with desktop applications as well.

₹10500 INR in 5 days
(0 Reviews)
0.0
NimaBarati

i'm a senior developer c# and i have experience in this subject . i can do it very well this project in short time

₹11000 INR in 7 days
(0 Reviews)
0.0