Hello,
I am using openvpn from some time now. I work on windows 10 and use openvpn-gui with --connect opetion
What I want to do is connect 2 vpn's at start so i edited the shortcut when I lunch it it connects both vpn's but only is openvpn-gui is not already started.
for example:
if i use "C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --command connect vpn1 --command connect vpn2 both vpn connect correctly only if openvpn-gui is not started in windows sys try.
OR
if i use "C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --connect vpn1.ovpn --connect vpn2.ovpn both vpn connect correctly only if openvpn-gui is not started in windows sys try.
Anybody can help with this figure out why this happens?
Can anything be done about it?
Maybe the commands are not correct ?
Multiple VPN's in a go
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Multiple VPN's in a go
Both VPNs connect as you want .. what is the issue ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu May 19, 2022 8:23 am
Re: Multiple VPN's in a go
"vpn connect correctly only if openvpn-gui is not started in windows sys try"
If openvpn-gui is started only one vpn connects the other one not!
If openvpn-gui is started only one vpn connects the other one not!
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Multiple VPN's in a go
https://community.openvpn.net/openvpn/w ... w#gui-help
I don't know if the way you are doing it now is correct.
I don't know if the way you are doing it now is correct.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu May 19, 2022 8:23 am
Re: Multiple VPN's in a go
I used this help but there is no example for 2 or more vpns, I assume both of those are correct since it works when openvpn-gui is not lunched.
--command connect vpn1 --command connect vpn2
--connect vpn1.ovpn --connect vpn2.ovpn
The issue is only one of the vpn's lunch happens if openvpn-gui is lunched already and has no vpn's connected.
--command connect vpn1 --command connect vpn2
--connect vpn1.ovpn --connect vpn2.ovpn
The issue is only one of the vpn's lunch happens if openvpn-gui is lunched already and has no vpn's connected.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu May 19, 2022 8:23 am