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

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Silverchamp
OpenVpn Newbie
Posts: 1
Joined: Sat Feb 11, 2017 8:45 pm

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

Post by Silverchamp » Sat Feb 11, 2017 9:07 pm

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

Post Reply