|
@@ -38,12 +38,12 @@ tls-listening-port=5349
|
|
# RFC 5780 is supported only by UDP protocol, other protocols
|
|
# RFC 5780 is supported only by UDP protocol, other protocols
|
|
# are listening to that endpoint only for "symmetry".
|
|
# are listening to that endpoint only for "symmetry".
|
|
#
|
|
#
|
|
-alt-listening-port=0
|
|
|
|
|
|
+#alt-listening-port=0
|
|
|
|
|
|
# Alternative listening port for TLS and DTLS protocols.
|
|
# Alternative listening port for TLS and DTLS protocols.
|
|
# Default (or zero) value means "TLS listening port plus one".
|
|
# Default (or zero) value means "TLS listening port plus one".
|
|
#
|
|
#
|
|
-alt-tls-listening-port=0
|
|
|
|
|
|
+#alt-tls-listening-port=0
|
|
|
|
|
|
# Listener IP address of relay server. Multiple listeners can be specified.
|
|
# Listener IP address of relay server. Multiple listeners can be specified.
|
|
# If no IP(s) specified in the config file or in the command line options,
|
|
# If no IP(s) specified in the config file or in the command line options,
|
|
@@ -123,6 +123,8 @@ alt-tls-listening-port=0
|
|
#
|
|
#
|
|
#external-ip=60.70.80.91/172.17.19.101
|
|
#external-ip=60.70.80.91/172.17.19.101
|
|
#external-ip=60.70.80.92/172.17.19.102
|
|
#external-ip=60.70.80.92/172.17.19.102
|
|
|
|
+#external-ip=60.70.80.92/172.17.19.102
|
|
|
|
+external-ip=193.224.22.37
|
|
|
|
|
|
|
|
|
|
# Number of the relay threads to handle the established connections
|
|
# Number of the relay threads to handle the established connections
|
|
@@ -167,7 +169,7 @@ fingerprint
|
|
# Uncomment to use long-term credential mechanism.
|
|
# Uncomment to use long-term credential mechanism.
|
|
# By default no credentials mechanism is used (any user allowed).
|
|
# By default no credentials mechanism is used (any user allowed).
|
|
#
|
|
#
|
|
-#lt-cred-mech
|
|
|
|
|
|
+lt-cred-mech
|
|
|
|
|
|
# This option is opposite to lt-cred-mech.
|
|
# This option is opposite to lt-cred-mech.
|
|
# (TURN Server with no-auth option allows anonymous access).
|
|
# (TURN Server with no-auth option allows anonymous access).
|
|
@@ -279,6 +281,8 @@ fingerprint
|
|
#
|
|
#
|
|
#psql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> connect_timeout=30"
|
|
#psql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> connect_timeout=30"
|
|
|
|
|
|
|
|
+#psql-userdb="host=postgresql dbname=coturn user=coturn password=CHANGE_ME connect_timeout=30"
|
|
|
|
+
|
|
# MySQL database connection string in the case that we are using MySQL
|
|
# MySQL database connection string in the case that we are using MySQL
|
|
# as the user database.
|
|
# as the user database.
|
|
# This database can be used for long-term credential mechanism
|
|
# This database can be used for long-term credential mechanism
|
|
@@ -293,6 +297,8 @@ fingerprint
|
|
#
|
|
#
|
|
#mysql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> port=<port> connect_timeout=<seconds> read_timeout=<seconds>"
|
|
#mysql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> port=<port> connect_timeout=<seconds> read_timeout=<seconds>"
|
|
|
|
|
|
|
|
+mysql-userdb="host=mysql dbname=coturn user=coturn password=CHANGE_ME port=3306 connect_timeout=10 read_timeout=10"
|
|
|
|
+
|
|
# If you want to use in the MySQL connection string the password in encrypted format,
|
|
# If you want to use in the MySQL connection string the password in encrypted format,
|
|
# then set in this option the MySQL password encryption secret key file.
|
|
# then set in this option the MySQL password encryption secret key file.
|
|
#
|
|
#
|
|
@@ -311,6 +317,9 @@ fingerprint
|
|
#
|
|
#
|
|
#mongo-userdb="mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]"
|
|
#mongo-userdb="mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]"
|
|
|
|
|
|
|
|
+#mongo-userdb="mongodb://coturn:CHANGE_ME@mongodb/coturn"
|
|
|
|
+#mongo-userdb="mongodb://mongodb/coturn"
|
|
|
|
+
|
|
# Redis database connection string in the case that we are using Redis
|
|
# Redis database connection string in the case that we are using Redis
|
|
# as the user database.
|
|
# as the user database.
|
|
# This database can be used for long-term credential mechanism
|
|
# This database can be used for long-term credential mechanism
|
|
@@ -319,6 +328,8 @@ fingerprint
|
|
#
|
|
#
|
|
#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
|
|
#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
|
|
|
|
|
|
|
|
+#redis-userdb="ip=redis dbname=2 password=CHANGE_ME connect_timeout=30"
|
|
|
|
+
|
|
# Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used).
|
|
# Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used).
|
|
# This database keeps allocations status information, and it can be also used for publishing
|
|
# This database keeps allocations status information, and it can be also used for publishing
|
|
# and delivering traffic and allocation event notifications.
|
|
# and delivering traffic and allocation event notifications.
|
|
@@ -327,6 +338,8 @@ fingerprint
|
|
#
|
|
#
|
|
#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
|
|
#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
|
|
|
|
|
|
|
|
+#redis-statsdb="ip=redis dbname=2 password=CHANGE_ME connect_timeout=30"
|
|
|
|
+
|
|
# The default realm to be used for the users when no explicit
|
|
# The default realm to be used for the users when no explicit
|
|
# origin/realm relationship was found in the database, or if the TURN
|
|
# origin/realm relationship was found in the database, or if the TURN
|
|
# server is not using any database (just the commands-line settings
|
|
# server is not using any database (just the commands-line settings
|
|
@@ -337,6 +350,7 @@ fingerprint
|
|
# If domain name is empty string, or '(None)', then it is initialized to am empty string.
|
|
# If domain name is empty string, or '(None)', then it is initialized to am empty string.
|
|
#
|
|
#
|
|
#realm=mycompany.org
|
|
#realm=mycompany.org
|
|
|
|
+realm=example.org
|
|
|
|
|
|
# The flag that sets the origin consistency
|
|
# The flag that sets the origin consistency
|
|
# check: across the session, all requests must have the same
|
|
# check: across the session, all requests must have the same
|
|
@@ -437,6 +451,7 @@ fingerprint
|
|
# configuration file.
|
|
# configuration file.
|
|
#
|
|
#
|
|
#cert=/usr/local/etc/turn_server_cert.pem
|
|
#cert=/usr/local/etc/turn_server_cert.pem
|
|
|
|
+cert=/etc/ssl/certs/cert.pem
|
|
|
|
|
|
# Private key file.
|
|
# Private key file.
|
|
# Use an absolute path or path relative to the
|
|
# Use an absolute path or path relative to the
|
|
@@ -444,6 +459,7 @@ fingerprint
|
|
# Use PEM file format.
|
|
# Use PEM file format.
|
|
#
|
|
#
|
|
#pkey=/usr/local/etc/turn_server_pkey.pem
|
|
#pkey=/usr/local/etc/turn_server_pkey.pem
|
|
|
|
+pkey=/etc/ssl/private/privkey.pem
|
|
|
|
|
|
# Private key file password, if it is in encoded format.
|
|
# Private key file password, if it is in encoded format.
|
|
# This option has no default value.
|
|
# This option has no default value.
|
|
@@ -657,6 +673,7 @@ cli-port=5766
|
|
# Or unsecure form for the same password:
|
|
# Or unsecure form for the same password:
|
|
#
|
|
#
|
|
#cli-password=qwerty
|
|
#cli-password=qwerty
|
|
|
|
+cli-password=CHANGE_ME
|
|
|
|
|
|
# Server relay. NON-STANDARD AND DANGEROUS OPTION.
|
|
# Server relay. NON-STANDARD AND DANGEROUS OPTION.
|
|
# Only for those applications when we want to run
|
|
# Only for those applications when we want to run
|