OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Mr. Happy on August 21, 2020, 05:39:12 PM

Title: Let OpenVPN use NordVPN recommended server
Post by: Mr. Happy on August 21, 2020, 05:39:12 PM
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?