Page 1 of 1

VPN server list

Posted: Sun Dec 17, 2017 2:58 pm
by zkab
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 ...

Re: VPN server list

Posted: Tue Dec 19, 2017 12:07 pm
by ordex
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.

Re: VPN server list

Posted: Tue Dec 19, 2017 2:14 pm
by zkab
How do I add multiple "remote" lines in the profile in OpenVPN for Android ?
There is only Import>Import Profile from SD card >

Re: VPN server list

Posted: Tue Dec 19, 2017 4:14 pm
by ordex
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.

Re: VPN server list

Posted: Wed Dec 20, 2017 11:49 am
by zkab
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

Re: VPN server list

Posted: Wed Dec 20, 2017 1:18 pm
by ordex
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.

Re: VPN server list

Posted: Thu Dec 21, 2017 3:06 pm
by zkab
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 ?