open mulitple connection

How to customize and extend your OpenVPN installation.

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

Post Reply
trex1974
OpenVpn Newbie
Posts: 1
Joined: Wed Aug 29, 2018 1:16 pm

open mulitple connection

Post by trex1974 » Wed Aug 29, 2018 1:25 pm

How to ...

i want to make a batch file to open first a vpn connection and after it has connected then another one

if i enter in a batch file :

openvpn config.ovpn
its connects

but then i am not able to run the second connection because the batch file stops after the fisrt connenction

somebody knows how to do this ?

User avatar
whoami
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 07, 2018 5:20 pm

Re: open mulitple connection

Post by whoami » Sun Oct 21, 2018 10:06 pm

It would be ghetto, but what about

Code: Select all

timeout 30
between the commands? or how ever many seconds you need your script to wait before making the 2nd connection? This is only a guess... I've never wrote a batch script for a vpn connection.

Post Reply