Closed ghost closed 4 years ago
You need to import the configuration as a persistent configuration. As indicated in the openvpn3-config-import(1) man page:
-p, --persistent
By default, the configuration profile is kept in memory only,
and it is wiped when the configuration manager service restarts.
When adding this option the profile becomes persistent and will
be automatically loaded each time the configuration manager
starts.
You can also set the new config name during import, using the --name
argument toopenvpn3 config-import
; also described in the man page - and openvpn3 config-import --help
.
$ openvpn3 config-import --help
openvpn3: config-import - Import configuration profiles
-h | --help - This help screen
-c | --config CFG-FILE - Configuration file to import
-n | --name NAME - Provide a different name for the configuration (default: CFG-FILE)
-p | --persistent - Make the configuration profile persistent through service restarts
Also, if you have bash-completion
installed, all the openvpn3 commands, arguments and option vlaues should work with auto-completion out-of-the-box; which makes typing easier as well.
i have no idea how I've missed it 😅 thanks
OS: ubuntu 20.04 openvpn3 version
I'm using
openvpn3 config-import --config <path_to_ovpn_file>
to import my client config file to the store. then I'm changing it's name to be somthing more easy to typeopenvpn3 config-manage --path <config_path_from_configs-list> --rename <new_name>
All is good up until I reboot then I lose my configs and I need to do it all over again