Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The roOpenVpn BrightScript API ensures that the files can be placed correctly, and with the right ownership, without making them accessible to everyone. 

Object Creation: The roOpenVpn object must be passed an roAssetPool instance upon creation.

CreateObject("roOpenVpn")

OpenVpnParams


ON THIS PAGE

archive_file as string

Path to the configuration zip


obfuscated_secret as string

Encrypted passphrase for protected certificates


InstallAndRun(params as OpenVpnParams) as Boolean

Install the configuration and run it


openvpn Uninstall() as Boolean

Stop and uninstall the configuration


Example


 ovpn = CreateObject("roOpenVpn")
params = {}
params.archive_file = "openvpn.zip"
ovpn.InstallAndRun(params)
ovpn.Uninstall()







  • No labels