dbritto-dev / openvpn3-action

MIT License
3 stars 1 forks source link

OpenVPN 3 Autload is being deprecated #1

Closed dsommers closed 4 months ago

dsommers commented 2 years ago

Hi,

I'm the upstream maintainer of the OpenVPN 3 Linux project and I just stumbled across this project. I just wanted to give a heads up that the openvpn3-autoload approach is being deprecated and will at some point be removed in a later release.

The approach to use now is:

The ${CONFIG_FILE} itself may now also contain <auth-user-pass>...</auth-user-pass> tags if username/password auth is required; this will be further hardened with support for keyring services and such.

If there are additional settings which was configured via the .autoload file, they can now be set properly via openvpn3 config-manage --config ${CONFIG_NAME}. See the openvpn3-config-manage(1) man page for details

dbritto-dev commented 2 years ago

@dsommers cool, thanks a lot for pointing out that. I'll work on updating this gh action to follow the new approach.

dsommers commented 2 years ago

If it makes it easier for you, OpenVPN 3 Linux is based on D-Bus so you can manage it directly this way. It also ships with an openvpn3 Python 3 module, where you can do all the things you do with the openvpn3 command line tool.

A few examples:

dbritto-dev commented 2 years ago

@dsommers thanks for the docs. Actually, for this project I want to keep it simple using bash and exposing a way to run any command, so people can use that for simple and complex things.