/
roOpenVpn

roOpenVpn

The roOpenVpn object can be used to connect players and servers through a VPN without making them accessible to everyone. 

Object Creation: 

CreateObject("roOpenVpn")

OpenVpnParams

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)

The following command should be called to close the vpn connection when it is no longer needed:

ovpn.Uninstall()

ON THIS PAGE










Related content

openvpn
More like this
Network Options
Network Options
More like this
Player Network Settings Entity (2020/10)
Player Network Settings Entity (2020/10)
More like this
Player Network Settings Entity (2022/06)
Player Network Settings Entity (2022/06)
More like this
6.1-roNetworkDiscovery
6.1-roNetworkDiscovery
More like this
roDatagramSocket
roDatagramSocket
More like this