Page Comparison
General
Content
Integrations
The roOpenVpn object can be used to connect players and servers through a VPN without making them accessible to everyone.
Object Creation:
Code Block |
---|
CreateObject("roOpenVpn") |
ON THIS PAGE
Table of Contents | ||
---|---|---|
|
Path to the configuration zip
Encrypted passphrase for protected certificates
Install the configuration and run it
Stop and uninstall the configuration
Code Block |
---|
ovpn = CreateObject("roOpenVpn")
params = {}
params.archive_file = "openvpn.zip"
ovpn.InstallAndRun(params) |
The following command should be called to close the vpn connection when it is no longer needed:
Code Block |
---|
ovpn.Uninstall() |