I want to add the .ovpn configuration package from NordVPN.
Since there are many servers in that package I want to copy them to Android instead of picking them one by one.
Where are the servers stored in Android ? Will a copy work ?
If this can be done I also want to know how I can add a rotation to the server - randomly or when some server fails to connect ...
VPN server list
- ordex
- OpenVPN Inc.
- Posts: 444
- Joined: Wed Dec 28, 2016 2:32 am
- Location: IRC #openvpn-devel @ libera.chat
Re: VPN server list
you could manually add multiple "remote" lines in the profile, so that the app can try them one after the other in case of problems.
-
- OpenVpn Newbie
- Posts: 19
- Joined: Sat Jul 20, 2013 2:39 pm
Re: VPN server list
How do I add multiple "remote" lines in the profile in OpenVPN for Android ?
There is only Import>Import Profile from SD card >
There is only Import>Import Profile from SD card >
- ordex
- OpenVPN Inc.
- Posts: 444
- Joined: Wed Dec 28, 2016 2:32 am
- Location: IRC #openvpn-devel @ libera.chat
Re: VPN server list
you need to modify the .ovpn file with a text editor on your workstation. You will see that it already contains one "remote" line indicating what server to connect to.
-
- OpenVpn Newbie
- Posts: 19
- Joined: Sat Jul 20, 2013 2:39 pm
Re: VPN server list
OK - I see the "remote" line in the .ovpn but if I just add another "remote" server will there not be a conflict since they have different CA:s
- ordex
- OpenVPN Inc.
- Posts: 444
- Joined: Wed Dec 28, 2016 2:32 am
- Location: IRC #openvpn-devel @ libera.chat
Re: VPN server list
Correct. Servers must have the same CA and accept the same key/cert pair, otherwise this won't work.
The idea behind using one config only is that all the servers are within the same PKI. I personally think that several VPN Providers use the same CA for all their servers, but my experience here is pretty limited.
The idea behind using one config only is that all the servers are within the same PKI. I personally think that several VPN Providers use the same CA for all their servers, but my experience here is pretty limited.
-
- OpenVpn Newbie
- Posts: 19
- Joined: Sat Jul 20, 2013 2:39 pm
Re: VPN server list
They servers don't have the same CA ...
I read something about 'stacked certificate' ... can that be used ?
Don't really know how to use it ... should I put the remote servers <ca>, <cert>, <key>, <tls-auth> in several blocks after each other in one .ovpn file that I import to openvpn ?
I read something about 'stacked certificate' ... can that be used ?
Don't really know how to use it ... should I put the remote servers <ca>, <cert>, <key>, <tls-auth> in several blocks after each other in one .ovpn file that I import to openvpn ?