Usage
General Options
Prints the help message and exits.
Displays program version information and exits.
Confirms you have read and accepted the server license agreement.Environment Variable:
TSSERVER_LICENSE_ACCEPTEDWrites the current configuration to the config file.
Configuration file to load.Environment Variable:
TSSERVER_CONFIG_FILEPath where the server will look for the server license (
licensekey.dat).Environment Variable: TSSERVER_LICENSE_PATHServer Configuration
Permanently sets the default voice port for the first virtual server created.Range: 1 - 65535Environment Variable:
TSSERVER_DEFAULT_PORTIP address for the server to bind the voice port to. Can be specified multiple times for binding to multiple interfaces.Environment Variable:
TSSERVER_VOICE_IPA string to distinguish this instance from other instances using the same database.Environment Variable:
TSSERVER_MACHINE_IDNumber of threads to use for voice processing.Range: 1 - 16Environment Variable:
TSSERVER_VOICE_UDP_THREADSLogging
Path to the directory where log files are stored.Environment Variable:
TSSERVER_LOG_PATHWrite one ever-growing log file per virtual server instead of creating new log files.Environment Variable:
TSSERVER_APPEND_LOGSVirtual Server Management
If specified, no default server is created even if no server exists in the database.Environment Variable:
TSSERVER_NO_DEFAULT_SERVERFile Transfer
Port on which to listen and advertise for file transfer connections.Range: 1 - 65535Environment Variable:
TSSERVER_FILE_TRANSFER_PORTThe address on which to listen for file transfer connections. Can be specified multiple times for binding to multiple interfaces.Environment Variable:
TSSERVER_FILE_TRANSFER_IPDatabase Configuration
General Database Options
Specifies the database plugin to use (e.g.,
sqlite3, mariadb).Environment Variable: TSSERVER_DATABASE_PLUGINPath to folder containing SQL queries used by the server.Environment Variable:
TSSERVER_DATABASE_SQL_PATHSubdirectory in SQL path to use for DB creation scripts (e.g.,
create_mariadb, create_sqlite).Environment Variable: TSSERVER_DATABASE_SQL_CREATE_PATHNumber of days to keep clients in the database before cleanup.Environment Variable:
TSSERVER_DATABASE_CLIENT_KEEP_DAYSSQLite only: skip DB integrity check at startup. Use with caution.Environment Variable:
TSSERVER_DATABASE_SKIP_INTEGRITY_CHECKEnable logging of SQL queries. Useful for debugging but can impact performance.Environment Variable:
TSSERVER_DATABASE_LOG_QUERIES⚠️ WARNING: Resets the database completely (deletes all servers, clients, etc.). Use with extreme caution.
Do not apply permission changes during server updates.Environment Variable:
TSSERVER_SKIP_PERMISSION_UPDATEDatabase Connection Options
Database hostname or IP address.Environment Variable:
TSSERVER_DATABASE_HOSTDatabase port.Range: 1 - 65535Environment Variable:
TSSERVER_DATABASE_PORTSocket file to use for database connection (alternative to host/port).Environment Variable:
TSSERVER_DATABASE_SOCKETTimeout in seconds when connecting to the database.Range: 1 - 432000 (5 days)Environment Variable:
TSSERVER_DATABASE_TIMEOUTName of the database to use.Environment Variable:
TSSERVER_DATABASE_NAMEThe username to use for database authentication.Environment Variable:
TSSERVER_DATABASE_USERNAMEThe password to use for database authentication.Environment Variable:
TSSERVER_DATABASE_PASSWORDNumber of connections to establish to the database.Range: 2 - 100Environment Variable:
TSSERVER_DATABASE_CONNECTIONSQuery Interface
General Query Options
How many threads to use for query command processing.Range: 2 - 32Environment Variable:
TSSERVER_QUERY_POOL_SIZEInterval in seconds after which to log query statistics.Range: 10 - 31556952 (1 year)Environment Variable:
TSSERVER_QUERY_LOG_TIMINGFile path listing IPs exempt from query flood protection. One IP per line.Environment Variable:
TSSERVER_QUERY_ALLOW_LISTFile path listing IPs blocked from the query interface. One IP per line.Environment Variable:
TSSERVER_QUERY_DENY_LISTOverride the query password for the built-in serveradmin account, overriding the database value.Environment Variable:
TSSERVER_QUERY_ADMIN_PASSWORDLog every command received on the query interface. Useful for debugging but can create large logs.Environment Variable:
TSSERVER_QUERY_LOG_COMMANDSSkip brute force checking on query interface connections.Environment Variable:
TSSERVER_QUERY_SKIP_BRUTE_FORCE_CHECKHow much memory (in MB) to allocate for query connection buffering.Range: 20 - 100Environment Variable:
TSSERVER_QUERY_BUFFER_MBPath to the query documentation files.Environment Variable:
TSSERVER_QUERY_DOCUMENTATION_PATHTimeout in seconds before query connections expire due to inactivity.Environment Variable:
TSSERVER_QUERY_TIMEOUTSSH Query Options
Enable the SSH query interface.Environment Variable:
TSSERVER_QUERY_SSH_ENABLEDPort on which to listen for SSH query connections.Range: 1 - 65535Environment Variable:
TSSERVER_QUERY_SSH_PORTAddress to listen on for SSH query connections. Can be specified multiple times for binding to multiple interfaces.Environment Variable:
TSSERVER_QUERY_SSH_IPPath to the SSH RSA host key file.Environment Variable:
TSSERVER_QUERY_SSH_RSA_KEYHTTP Query Options
Enable the HTTP query interface.Environment Variable:
TSSERVER_QUERY_HTTP_ENABLEDPort on which to listen for Web Query connections.Range: 1 - 65535Environment Variable:
TSSERVER_QUERY_HTTP_PORTAddress to listen on for Web Query connections. Can be specified multiple times for binding to multiple interfaces.Environment Variable:
TSSERVER_QUERY_HTTP_IPHTTPS Query Options
Enable the HTTPS query interface for secure Web Query connections.Environment Variable:
TSSERVER_QUERY_HTTPS_ENABLEDPort on which to listen for secure Web Query connections.Range: 1 - 65535Environment Variable:
TSSERVER_QUERY_HTTPS_PORTAddress to listen on for secure Web Query connections. Can be specified multiple times for binding to multiple interfaces.Environment Variable:
TSSERVER_QUERY_HTTPS_IPPath to certificate file for HTTPS Web Query (PEM format).Environment Variable:
TSSERVER_QUERY_HTTPS_CERTPath to private key file used with the certificate (PEM format).Environment Variable:
TSSERVER_QUERY_HTTPS_PRIVATE_KEYAdvanced Options
Proxy server used for external connections (e.g., license validation, accounting).Environment Variable:
TSSERVER_HTTP_PROXYPath where crash dumps should be written for debugging purposes.Environment Variable:
TSSERVER_CRASHDUMP_PATHRun the server in the background (daemon mode). Linux/Unix only.Environment Variable:
TSSERVER_DAEMONFile to write the process ID to when running in daemon mode.Environment Variable:
TSSERVER_PID_FILEEnable permission hints. Can impact performance on large servers with many permissions.Environment Variable:
TSSERVER_HINTS_ENABLEDPath to the MaxMind GeoIP database for geolocation features.Environment Variable:
TSSERVER_MAXMIND_DB_PATHAdministrative domain for internal or regulatory identification purposes.Environment Variable:
TSSERVER_ADMINISTRATIVE_DOMAINSee Also
Environment Variables
Complete list of environment variables
YAML Configuration
YAML configuration file schema