I‘m relatively new and like to experiment with features. However I could not find the right topics to solve my following request:
I want to enable (and Save & apply) my openvpn setting, when clicking the button on my repeater.
On the other hand it should disable when clicking on the button again.
No, according to configuration, openvpn is enabled as service, and just flag 'enabled' of instance is modified. Something like: uci set openvpn.NordVPN_US_10064.enabled=1;uci commit openvpn
This will select the specific profile/config file to use, but OpenVPN will not start when you run this command.
The one I posted earlier will start the VPN service (the assumption, when starting the service, is that a config file is already selected, as was true in the screenshot).