The following configuration is avaliable for the installation process:
## Define a custom repository URL for the client installers.
## Defaults to https://github.com/netzint/openrport
repository_url = "https://github.com/netzint/openrport"
## You can define custom names for the generated client installers. This is to whitelabel the client on the systems.
## Defaults to "openrport"
installer_name = "openrport"
## By default, each generated client installer is pre-registered on the server.
## This means, the client is ready to connect right after installation without any further manual steps.
## If you turn this off, each client must be registered manually after installation.
## Defaults to true
installer_autoregister = trueIf installer_autoregister is set to true, the client auth is created with a random password and injected to the install
script. If the client auth already exist on the server, you receive a HTTP 409 error. You can add &replace=true to the
URL to delete the old client auth and automatically create new credentials.
curl -fsSL "https://your-server/client/install?name=myserver" | bash
iwr "https://your-server/client/install?name=myserver&os=windows" | iex
curl -fsSL "https://your-server/client/update" | bash
iwr "https://your-server/client/update?os=windows" | iex
curl -fsSL "https://your-server/client/uninstall" | bash
iwr "https://your-server/client/uninstall?os=windows" | iex
# It is possible to specify a list of allow commands that can be executed on clients via rport server.
# The commands can be defined in a TOML file for each operating system. The list is send to clients during
# the connection setup.
# Defaults to not set
command_policy_file = "/etc/rport/command-policy.toml"/etc/rport/command-policy.toml
[linux]
allow = [
'/usr/bin/apt-get update',
'/usr/bin/apt-get upgrade -y',
]
[windows]
allow = [
'C:\\Windows\\System32\\ipconfig.exe /all',
]
[global]
allow = [
'hostname',
]