Let OpenVPN use NordVPN recommended server

Started by Mr. Happy, August 21, 2020, 05:39:12 PM

Previous topic - Next topic
I have a script that gets the recommended server by NordVPN.
Now I want to use the returned servername to connect OpenVPN-client to.
What is the best way to do that?
Can I 'just' replace the hostname in the config.xml and restart OpenVPN client?
In this case, how do I restart the OpenVPN-client from commandline?