2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2025 by someone <someone@somenet.org>
8 # Replace at least: cert, pkey, realm, static-auth-secret.
11 # Coturn TURN SERVER configuration file
13 # Boolean values note: where a boolean value is supposed to be used,
14 # you can use '0', 'off', 'no', 'false', or 'f' as 'false,
15 # and you can use '1', 'on', 'yes', 'true', or 't' as 'true'
16 # If the value is missing, then it means 'true' by default.
19 # Listener interface device (optional, Linux only).
22 #listening-device=eth0
24 # TURN listener port for UDP and TCP (Default: 3478).
25 # Note: actually, TLS & DTLS sessions can connect to the
26 # "plain" TCP & UDP port(s), too - if allowed by configuration.
30 # TURN listener port for TLS (Default: 5349).
31 # Note: actually, "plain" TCP & UDP sessions can connect to the TLS & DTLS
32 # port(s), too - if allowed by configuration. The TURN server
33 # "automatically" recognizes the type of traffic. Actually, two listening
34 # endpoints (the "plain" one and the "tls" one) are equivalent in terms of
35 # functionality; but Coturn keeps both endpoints to satisfy the RFC 5766 specs.
36 # For secure TCP connections, Coturn currently supports
37 # TLS version 1.0, 1.1 and 1.2.
38 # For secure UDP connections, Coturn supports DTLS version 1.
40 tls-listening-port=3478
42 # Alternative listening port for UDP and TCP listeners;
43 # default (or zero) value means "listening port plus one".
44 # This is needed for RFC 5780 support
45 # (STUN extension specs, NAT behavior discovery). The TURN Server
46 # supports RFC 5780 only if it is started with more than one
47 # listening IP address of the same family (IPv4 or IPv6).
48 # RFC 5780 is supported only by UDP protocol, other protocols
49 # are listening to that endpoint only for "symmetry".
53 # Alternative listening port for TLS and DTLS protocols.
54 # Default (or zero) value means "TLS listening port plus one".
56 #alt-tls-listening-port=0
58 # Some network setups will require using a TCP reverse proxy in front
59 # of the STUN server. If the proxy port option is set a single listener
60 # is started on the given port that accepts connections using the
61 # haproxy proxy protocol v2.
62 # (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)
66 # Listener IP address of relay server. Multiple listeners can be specified.
67 # If no IP(s) specified in the config file or in the command line options,
68 # then all IPv4 and IPv6 system IPs will be used for listening.
70 #listening-ip=172.17.19.101
71 #listening-ip=10.207.21.238
72 #listening-ip=2607:f0d0:1002:51::4
74 # Auxiliary STUN/TURN server listening endpoint.
75 # Aux servers have almost full TURN and STUN functionality.
76 # The (minor) limitations are:
78 # 1) Auxiliary servers do not have alternative ports and
79 # they do not support STUN RFC 5780 functionality (CHANGE REQUEST).
81 # 2) Auxiliary servers also are never returning ALTERNATIVE-SERVER reply.
83 # Valid formats are 1.2.3.4:5555 for IPv4 and [1:2::3:4]:5555 for IPv6.
85 # There may be multiple aux-server options, each will be used for listening
88 #aux-server=172.17.19.110:33478
89 #aux-server=[2607:f0d0:1002:51::4]:33478
91 # (recommended for older Linuxes only)
92 # Automatically balance UDP traffic over auxiliary servers (if configured).
93 # The load balancing is using the ALTERNATE-SERVER mechanism.
94 # The TURN client must support 300 ALTERNATE-SERVER response for this
99 # Relay interface device for relay sockets (optional, Linux only).
104 # Relay address (the local IP address that will be used to relay the
105 # packets to the peer).
106 # Multiple relay addresses may be used.
107 # The same IP(s) can be used as both listening IP(s) and relay IP(s).
109 # If no relay IP(s) specified, then the turnserver will apply the default
110 # policy: it will decide itself which relay addresses to be used, and it
111 # will always be using the client socket IP address as the relay IP address
112 # of the TURN session (if the requested relay address family is the same
113 # as the family of the client socket).
115 #relay-ip=172.17.19.105
116 #relay-ip=2607:f0d0:1002:51::5
118 # For Amazon EC2 users:
120 # TURN Server public/private address mapping, if the server is behind NAT.
121 # In that situation, if a -X is used in form "-X <ip>" then that ip will be reported
122 # as relay IP address of all allocations. This scenario works only in a simple case
123 # when one single relay address is be used, and no RFC5780 functionality is required.
124 # That single relay address must be mapped by NAT to the 'external' IP.
125 # The "external-ip" value, if not empty, is returned in XOR-RELAYED-ADDRESS field.
126 # For that 'external' IP, NAT must forward ports directly (relayed port 12345
127 # must be always mapped to the same 'external' port 12345).
129 # In more complex case when more than one IP address is involved,
130 # that option must be used several times, each entry must
131 # have form "-X <public-ip/private-ip>", to map all involved addresses.
132 # RFC5780 NAT discovery STUN functionality will work correctly,
133 # if the addresses are mapped properly, even when the TURN server itself
136 # By default, this value is empty, and no address mapping is used.
138 #external-ip=60.70.80.91
142 #external-ip=60.70.80.91/172.17.19.101
143 #external-ip=60.70.80.92/172.17.19.102
146 # Number of the relay threads to handle the established connections
147 # (in addition to authentication thread and the listener thread).
148 # If explicitly set to 0 then application runs relay process in a
149 # single thread, in the same thread with the listener process
150 # (the authentication thread will still be a separate thread).
152 # If this parameter is not set, then the default OS-dependent
153 # thread pattern algorithm will be employed. Usually the default
154 # algorithm is optimal, so you have to change this option
155 # if you want to make some fine tweaks.
157 # In the older systems (Linux kernel before 3.9),
158 # the number of UDP threads is always one thread per network listening
159 # endpoint - including the auxiliary endpoints - unless 0 (zero) or
160 # 1 (one) value is set.
164 # Lower and upper bounds of the UDP relay endpoints:
165 # (default values are 49152 and 65535)
170 # Uncomment to run TURN server in 'normal' 'moderate' verbose mode.
171 # By default the verbose mode is off.
174 # Uncomment to run TURN server in 'extra' verbose mode.
175 # This mode is very annoying and produces lots of output.
176 # Not recommended under normal circumstances.
180 # Uncomment to use fingerprints in the TURN messages.
181 # By default the fingerprints are off.
185 # Uncomment to use long-term credential mechanism.
186 # By default no credentials mechanism is used (any user allowed).
190 # This option is the opposite of lt-cred-mech.
191 # (TURN Server with no-auth option allows anonymous access).
192 # If neither option is defined, and no users are defined,
193 # then no-auth is default. If at least one user is defined,
194 # in this file, in command line or in usersdb file, then
195 # lt-cred-mech is default.
199 # Enable prometheus exporter
200 # If enabled the turnserver will expose an endpoint with stats on a prometheus format
201 # this endpoint is listening on a different port to not conflict with other configurations.
203 # You can simply run the turnserver and access the port 9641 and path /metrics
205 # For more info on the prometheus exporter and metrics
206 # https://prometheus.io/docs/introduction/overview/
207 # https://prometheus.io/docs/concepts/data_model/
211 # TURN REST API flag.
212 # (Time Limited Long Term Credential)
213 # Flag that sets a special authorization option that is based upon authentication secret.
215 # This feature's purpose is to support "TURN Server REST API", see
216 # "TURN REST API" link in the project's page
217 # https://github.com/coturn/coturn/
219 # This option is used with timestamp:
221 # usercombo -> "timestamp:userid"
222 # turn user -> usercombo
223 # turn password -> base64(hmac(secret key, usercombo))
225 # This allows TURN credentials to be accounted for a specific user id.
226 # If you don't have a suitable id, then the timestamp alone can be used.
227 # This option is enabled by turning on secret-based authentication.
228 # The actual value of the secret is defined either by the option static-auth-secret,
229 # or can be found in the turn_secret table in the database (see below).
231 # Read more about it:
232 # - https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00
233 # - https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf
235 # Be aware that use-auth-secret overrides some parts of lt-cred-mech.
236 # The use-auth-secret feature depends internally on lt-cred-mech, so if you set
237 # this option then it automatically enables lt-cred-mech internally
238 # as if you had enabled both.
240 # Note that you can use only one auth mechanism at the same time! This is because,
241 # both mechanisms conduct username and password validation in different ways.
243 # Use either lt-cred-mech or use-auth-secret in the conf
244 # to avoid any confusion.
248 # 'Static' authentication secret value (a string) for TURN REST API only.
249 # If not set, then the turn server
250 # will try to use the 'dynamic' value in the turn_secret table
251 # in the user database (if present). The database-stored value can be changed on-the-fly
252 # by a separate program, so this is why that mode is considered 'dynamic'.
254 static-auth-secret=CHANGE_ME
256 # Server name used for
257 # the oAuth authentication purposes.
258 # The default value is the realm name.
260 #server-name=blackdow.carleon.gov
262 # Flag that allows oAuth authentication.
266 # 'Static' user accounts for the long term credentials mechanism, only.
267 # This option cannot be used with TURN REST API.
268 # 'Static' user accounts are NOT dynamically checked by the turnserver process,
269 # so they can NOT be changed while the turnserver is running.
274 #user=username1:password1
275 #user=username2:password2
277 # Keys must be generated by turnadmin utility. The key value depends
278 # on user name, realm, and password:
281 # $ turnadmin -k -u ninefingers -r north.gov -p youhavetoberealistic
282 # Output: 0xbc807ee29df3c9ffa736523fb2c4e8ee
283 # ('0x' in the beginning of the key is what differentiates the key from
284 # password. If it has 0x then it is a key, otherwise it is a password).
286 # The corresponding user account entry in the config file will be:
288 #user=ninefingers:0xbc807ee29df3c9ffa736523fb2c4e8ee
289 # Or, equivalently, with open clear password (less secure):
290 #user=ninefingers:youhavetoberealistic
293 # SQLite database file name.
295 # The default file name is /var/db/turndb or /usr/local/var/db/turndb or
296 # /var/lib/turn/turndb.
298 #userdb=/var/db/turndb
300 # PostgreSQL database connection string in the case that you are using PostgreSQL
301 # as the user database.
302 # This database can be used for the long-term credential mechanism
303 # and it can store the secret value for secret-based timed authentication in TURN REST API.
304 # See http://www.postgresql.org/docs/8.4/static/libpq-connect.html for 8.x PostgreSQL
305 # versions connection string format, see
306 # http://www.postgresql.org/docs/9.2/static/libpq-connect.html#LIBPQ-CONNSTRING
307 # for 9.x and newer connection string formats.
309 #psql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> connect_timeout=30"
311 # MySQL database connection string in the case that you are using MySQL
312 # as the user database.
313 # This database can be used for the long-term credential mechanism
314 # and it can store the secret value for secret-based timed authentication in TURN REST API.
316 # Optional connection string parameters for the secure communications (SSL):
317 # ca, capath, cert, key, cipher
318 # (see http://dev.mysql.com/doc/refman/5.1/en/ssl-options.html for the
319 # command options description).
321 # Use the string format below (space separated parameters, all optional):
323 #mysql-userdb="host=<host> dbname=<database-name> user=<database-user> password=<database-user-password> port=<port> connect_timeout=<seconds> read_timeout=<seconds>"
325 # If you want to use an encrypted password in the MySQL connection string,
326 # then set the MySQL password encryption secret key file with this option.
328 # Warning: If this option is set, then the mysql password must be set in "mysql-userdb" in an encrypted format!
329 # If you want to use a cleartext password then do not set this option!
331 # This is the file path for the aes encrypted secret key used for password encryption.
333 #secret-key-file=/path/
335 # MongoDB database connection string in the case that you are using MongoDB
336 # as the user database.
337 # This database can be used for long-term credential mechanism
338 # and it can store the secret value for secret-based timed authentication in TURN REST API.
339 # Use the string format described at http://hergert.me/docs/mongo-c-driver/mongoc_uri.html
341 #mongo-userdb="mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]"
343 # Redis database connection string in the case that you are using Redis
344 # as the user database.
345 # This database can be used for long-term credential mechanism
346 # and it can store the secret value for secret-based timed authentication in TURN REST API.
347 # Use the string format below (space separated parameters, all optional):
349 #redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
351 # Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used).
352 # This database keeps allocations status information, and it can be also used for publishing
353 # and delivering traffic and allocation event notifications.
354 # The connection string has the same parameters as redis-userdb connection string.
355 # Use the string format below (space separated parameters, all optional):
357 #redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
359 # The default realm to be used for the users when no explicit
360 # origin/realm relationship is found in the database, or if the TURN
361 # server is not using any database (just the commands-line settings
362 # and the userdb file). Must be used with long-term credentials
363 # mechanism or with TURN REST API.
365 # Note: If the default realm is not specified, then realm falls back to the host domain name.
366 # If the domain name string is empty, or set to '(None)', then it is initialized as an empty string.
370 # This flag sets the origin consistency
371 # check. Across the session, all requests must have the same
372 # main ORIGIN attribute value (if the ORIGIN was
373 # initially used by the session).
375 #check-origin-consistency
377 # Per-user allocation quota.
378 # default value is 0 (no quota, unlimited number of sessions per user).
379 # This option can also be set through the database, for a particular realm.
383 # Total allocation quota.
384 # default value is 0 (no quota).
385 # This option can also be set through the database, for a particular realm.
389 # Max bytes-per-second bandwidth a TURN session is allowed to handle
390 # (input and output network streams are treated separately). Anything above
391 # that limit will be dropped or temporarily suppressed (within
392 # the available buffer limits).
393 # This option can also be set through the database, for a particular realm.
398 # Maximum server capacity.
399 # Total bytes-per-second bandwidth the TURN server is allowed to allocate
400 # for the sessions, combined (input and output network streams are treated separately).
404 # Uncomment if no UDP client listener is desired.
405 # By default UDP client listener is always started.
409 # Uncomment if no TCP client listener is desired.
410 # By default TCP client listener is always started.
414 # Uncomment if no TLS client listener is desired.
415 # By default TLS client listener is always started.
419 # Uncomment if no DTLS client listener is desired.
420 # By default DTLS client listener is always started.
424 # Uncomment if no UDP relay endpoints are allowed.
425 # By default UDP relay endpoints are enabled (like in RFC 5766).
429 # Uncomment if no TCP relay endpoints are allowed.
430 # By default TCP relay endpoints are enabled (like in RFC 6062).
434 # Uncomment if extra security is desired,
435 # with nonce value having a limited lifetime.
436 # The nonce value is unique for a session.
437 # Set this option to limit the nonce lifetime.
438 # Set it to 0 for unlimited lifetime.
439 # It defaults to 600 secs (10 min) if no value is provided. After that delay,
440 # the client will get 438 error and will have to re-authenticate itself.
444 # Uncomment if you want to set the maximum allocation
445 # time before it has to be refreshed.
448 #max-allocate-lifetime=3600
451 # Uncomment to set the lifetime for the channel.
452 # Default value is 600 secs (10 minutes).
453 # This value MUST not be changed for production purposes.
455 #channel-lifetime=600
457 # Uncomment to set the permission lifetime.
458 # Default to 300 secs (5 minutes).
459 # In production this value MUST not be changed,
460 # however it can be useful for test purposes.
462 #permission-lifetime=300
465 # Use an absolute path or path relative to the
466 # configuration file.
467 # Use PEM file format.
469 cert=/etc/ssl/certs/ssl-cert-snakeoil.pem
472 # Use an absolute path or path relative to the
473 # configuration file.
474 # Use PEM file format.
476 pkey=/etc/ssl/private/ssl-cert-snakeoil.key
478 # Private key file password, if it is in encoded format.
479 # This option has no default value.
483 # Allowed OpenSSL cipher list for TLS/DTLS connections.
484 # Default value is "DEFAULT".
486 #cipher-list="DEFAULT"
488 # CA file in OpenSSL format.
489 # Forces TURN server to verify the client SSL certificates.
490 # By default this is not set: there is no default value and the client
491 # certificate is not checked.
494 #CA-file=/etc/ssh/id_rsa.cert
496 # Curve name for EC ciphers, if supported by OpenSSL
497 # library (TLS and DTLS). The default value is prime256v1,
498 # if pre-OpenSSL 1.0.2 is used. With OpenSSL 1.0.2+,
499 # an optimal curve will be automatically calculated, if not defined
502 #ec-curve-name=prime256v1
504 # Use 566 bits predefined DH TLS key. Default size of the key is 2066.
508 # Use 1066 bits predefined DH TLS key. Default size of the key is 2066.
512 # Use custom DH TLS key, stored in PEM format in the file.
513 # Flags --dh566 and --dh1066 are ignored when the DH key is taken from a file.
515 #dh-file=<DH-PEM-file-name>
517 # Flag to prevent stdout log messages.
518 # By default, all log messages go to both stdout and to
519 # the configured log file. With this option everything will
520 # go to the configured log only (unless the log file itself is stdout).
524 # Option to set the log file name.
525 # By default, the turnserver tries to open a log file in
526 # /var/log, /var/tmp, /tmp and the current directory
527 # (Whichever file open operation succeeds first will be used).
528 # With this option you can set the definite log file name.
529 # The special names are "stdout" and "-" - they will force everything
530 # to the stdout. Also, the "syslog" name will force everything to
531 # the system log (syslog).
532 # In the runtime, the logfile can be reset with the SIGHUP signal
533 # to the turnserver process.
535 #log-file=/var/tmp/turn.log
537 # Option to redirect all log output into system log (syslog).
541 # Set syslog facility for syslog messages
542 # Default values is ''.
544 #syslog-facility="LOG_LOCAL1"
546 # This flag means that no log file rollover will be used, and the log file
547 # name will be constructed as-is, without PID and date appendage.
548 # This option can be used, for example, together with the logrotate tool.
552 # Enable full ISO-8601 timestamp in all logs.
555 # Set timestamp format (in strftime(1) format). Depends on new-log-timestamp to be enabled.
556 #new-log-timestamp-format "%FT%T%z"
558 # Disabled by default binding logging in verbose log mode to avoid DoS attacks.
559 # Enable binding logging and UDP endpoint logs in verbose log mode.
562 # Option to set the "redirection" mode. The value of this option
563 # will be the address of the alternate server for UDP & TCP service in the form of
564 # <ip>[:<port>]. The server will send this value in the attribute
565 # ALTERNATE-SERVER, with error 300, on ALLOCATE request, to the client.
566 # Client will receive only values with the same address family
567 # as the client network endpoint address family.
568 # See RFC 5389 and RFC 5766 for the description of ALTERNATE-SERVER functionality.
569 # The client must use the obtained value for subsequent TURN communications.
570 # If more than one --alternate-server option is provided, then the functionality
571 # can be more accurately described as "load-balancing" than a mere "redirection".
572 # If the port number is omitted, then the default port
573 # number 3478 for the UDP/TCP protocols will be used.
574 # Colon (:) characters in IPv6 addresses may conflict with the syntax of
575 # the option. To alleviate this conflict, literal IPv6 addresses are enclosed
576 # in square brackets in such resource identifiers, for example:
577 # [2001:db8:85a3:8d3:1319:8a2e:370:7348]:3478 .
578 # Multiple alternate servers can be set. They will be used in the
579 # round-robin manner. All servers in the pool are considered of equal weight and
580 # the load will be distributed equally. For example, if you have 4 alternate servers,
581 # then each server will receive 25% of ALLOCATE requests. A alternate TURN server
582 # address can be used more than one time with the alternate-server option, so this
583 # can emulate "weighting" of the servers.
586 #alternate-server=1.2.3.4:5678
587 #alternate-server=11.22.33.44:56789
588 #alternate-server=5.6.7.8
589 #alternate-server=[2001:db8:85a3:8d3:1319:8a2e:370:7348]:3478
591 # Option to set alternative server for TLS & DTLS services in form of
592 # <ip>:<port>. If the port number is omitted, then the default port
593 # number 5349 for the TLS/DTLS protocols will be used. See the previous
594 # option for the functionality description.
597 #tls-alternate-server=1.2.3.4:5678
598 #tls-alternate-server=11.22.33.44:56789
599 #tls-alternate-server=[2001:db8:85a3:8d3:1319:8a2e:370:7348]:3478
601 # Option to suppress TURN functionality, only STUN requests will be processed.
602 # Run as STUN server only, all TURN requests will be ignored.
603 # By default, this option is NOT set.
607 # Option to hide software version. Enhance security when used in production.
608 # Revealing the specific software version of the agent through the
609 # SOFTWARE attribute might allow them to become more vulnerable to
610 # attacks against software that is known to contain security holes.
611 # Implementers SHOULD make usage of the SOFTWARE attribute a
612 # configurable option (https://tools.ietf.org/html/rfc5389#section-16.1.2)
614 #no-software-attribute
616 # Option to suppress STUN functionality, only TURN requests will be processed.
617 # Run as TURN server only, all STUN requests will be ignored.
618 # By default, this option is NOT set.
622 # This is the timestamp/username separator symbol (character) in TURN REST API.
623 # The default value is ':'.
624 # rest-api-separator=:
626 # Flag that can be used to allow peers on the loopback addresses (127.x.x.x and ::1).
627 # This is an extra security measure.
629 # (To avoid any security issue that allowing loopback access may raise,
630 # the no-loopback-peers option is replaced by allow-loopback-peers.)
632 # Allow it only for testing in a development environment!
633 # In production it adds a possible security vulnerability, so for security reasons
634 # it is not allowed using it together with empty cli-password.
636 #allow-loopback-peers
638 # Flag that can be used to disallow peers on well-known broadcast addresses (224.0.0.0 and above, and FFXX:*).
639 # This is an extra security measure.
643 # Option to set the max time, in seconds, allowed for full allocation establishment.
644 # Default is 60 seconds.
646 #max-allocate-timeout=60
648 # Option to allow or ban specific ip addresses or ranges of ip addresses.
649 # If an ip address is specified as both allowed and denied, then the ip address is
650 # considered to be allowed. This is useful when you wish to ban a range of ip
651 # addresses, except for a few specific ips within that range.
653 # This can be used when you do not want users of the turn server to be able to access
654 # machines reachable by the turn server, but would otherwise be unreachable from the
655 # internet (e.g. when the turn server is sitting behind a NAT)
658 # denied-peer-ip=83.166.64.0-83.166.95.255
659 # allowed-peer-ip=83.166.68.45
661 # File name to store the pid of the process.
662 # Default is /var/run/turnserver.pid (if superuser account is used) or
663 # /var/tmp/turnserver.pid .
665 #pidfile="/var/run/turnserver.pid"
667 # Require authentication of the STUN Binding request.
668 # By default, the clients are allowed anonymous access to the STUN Binding functionality.
672 # Mobility with ICE (MICE) specs support.
676 # Allocate Address Family according (DEPRECATED and will be removed in favour of allocation-default-address-family)
677 # If enabled then TURN server allocates address family according the TURN
678 # Client <=> Server communication address family.
679 # (By default Coturn works according RFC 6156.)
680 # !!Warning: Enabling this option breaks RFC6156 section-4.2 (violates use default IPv4)!!
684 # TURN server allocates address family according TURN client requested address family.
685 # If address family not requested explicitly by the client, then it falls back to this default.
686 # The standard RFC explicitly define that this default must be IPv4,
687 # so use other option values with care!
688 # Possible values: "ipv4" or "ipv6" or "keep"
689 # "keep" sets the allocation default address family according to
690 # the TURN client allocation request connection address family.
691 #allocation-default-address-family="ipv4"
692 #allocation-default-address-family="ipv4"
695 # User name to run the process. After the initialization, the turnserver process
696 # will attempt to change the current user ID to that user.
698 #proc-user=<user-name>
700 # Group name to run the process. After the initialization, the turnserver process
701 # will attempt to change the current group ID to that group.
703 #proc-group=<group-name>
705 # Turn OFF the CLI support.
706 # By default it is always ON.
707 # See also options cli-ip and cli-port.
711 #Local system IP address to be used for CLI server endpoint. Default value
716 # CLI server port. Default is 5766.
720 # CLI access password. Default is empty (no password).
721 # For the security reasons, it is recommended that you use the encrypted
722 # form of the password (see the -P command in the turnadmin utility).
724 # Secure form for password 'qwerty':
726 #cli-password=$5$79a316b350311570$81df9cfb9af7f5e5a76eada31e7097b663a0670f99a3c07ded3f1c8e59c5658a
728 # Or unsecure form for the same password:
732 # Enable Web-admin support on https. By default it is Disabled.
733 # If it is enabled it also enables a http a simple static banner page
734 # with a small reminder that the admin page is available only on https.
738 # Local system IP address to be used for Web-admin server endpoint. Default value is 127.0.0.1.
740 #web-admin-ip=127.0.0.1
742 # Web-admin server port. Default is 8080.
746 # Web-admin server listen on STUN/TURN worker threads
747 # By default it is disabled for security resons! (Not recommended in any production environment!)
749 #web-admin-listen-on-workers
751 #acme-redirect=http://redirectserver/.well-known/acme-challenge/
752 # Redirect ACME, i.e. HTTP GET requests matching '^/.well-known/acme-challenge/(.*)' to '<URL>$1'.
753 # Default is '', i.e. no special handling for such requests.
755 # Server relay. NON-STANDARD AND DANGEROUS OPTION.
756 # Only for those applications when you want to run
757 # server applications on the relay endpoints.
758 # This option eliminates the IP permissions check on
759 # the packets incoming to the relay endpoints.
763 # Maximum number of output sessions in ps CLI command.
764 # This value can be changed on-the-fly in CLI. The default value is 256.
766 #cli-max-output-sessions
768 # Set network engine type for the process (for internal purposes).
772 # Do not allow an TLS/DTLS version of protocol
778 # Disable RFC5780 (NAT behavior discovery).
780 # Originally, if there are more than one listener address from the same
781 # address family, then by default the NAT behavior discovery feature enabled.
782 # This option disables the original behavior, because the NAT behavior
783 # discovery adds extra attributes to response, and this increase the
784 # possibility of an amplification attack.
786 # Strongly encouraged to use this option to decrease gain factor in STUN
791 # Disable handling old STUN Binding requests and disable MAPPED-ADDRESS
792 # attribute in binding response (use only the XOR-MAPPED-ADDRESS).
794 # Strongly encouraged to use this option to decrease gain factor in STUN
797 no-stun-backward-compatibility
799 # Only send RESPONSE-ORIGIN attribute in binding response if RFC5780 is enabled.
801 # Strongly encouraged to use this option to decrease gain factor in STUN
804 response-origin-only-with-rfc5780