Page 1 of 1

A simple script I require. Check it please, I've been busting my *** looking for the answer. Thank you!

Posted: Sat Feb 11, 2017 9:07 pm
by Silverchamp
First, I do apologize for posting the topic, if it has already been answered. I tired searching the forum, but was not able to find the answer.
I'd really appreciate some help, because I've been searching extensively to find the answer.

I am in a need of a particular simple batch file to use it with another software.
I need the batch file to do the following:

1. Disconnect OpenVPN from network
2. Connect OpenVPN to another server and another IP (random if possible). I have around 50 config files for servers.

Basically I need the script to restart the connection to another server and IP whenever I call for it.
How can we do this?
I'd really appreciate the answer. Thank you!

Alex