Posted: Fri Feb 19, 2021 0:47 Post subject: Set multiple vpn servers in openvpn client setup
I currently have openvpn client setup on my R8000 flashed with dd-wrt which is working fine but randomly my vpn provider puts the server in maintenance so I lose the connection to vpn. Is there a way to provide multiple server locations into openvpn client setup page?
Same solution, only the relevant input field for dd-wrt is Additional Config.
thanks for quick reply. that worked. one additional question.
my primary server is listed under server name(MI). I added list of 5 servers (AT,DE etc...) to the additional configuration under openvpn client setup page. upon save/apply, it connected one of the server from additional configuration and not the primary server (MI).
My question is that is it possible to give first preference to my primary server(MI)?
If you specify the remote-random directive, no, you can't create a default, then have it randomly try all others. The only other option is to NOT use remote-random, in which case it will process them in-order (sequentially). In that case, it makes sense to specify your preferred server in the GUI's Server IP/Name field, then list all the others in Additional Config (you can arrange the rest randomly or in preferred order as well).
Exactly what I wanted. Thank you so much for your help. You are the best!