-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy patheturnal.yml
More file actions
61 lines (51 loc) · 2.13 KB
/
eturnal.yml
File metadata and controls
61 lines (51 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# eturnal STUN/TURN server configuration file.
#
# This file is written in YAML. The YAML format is indentation-sensitive, please
# MAKE SURE YOU INDENT CORRECTLY.
#
# See: https://eturnal.net/doc/#Global_Configuration
eturnal:
## Shared secret for deriving temporary TURN credentials (default: $RANDOM):
#secret: "long-and-cryptic"
listen:
-
ip: "::"
port: 3478
transport: udp
-
ip: "::"
port: 3478
transport: tcp
#-
# ip: "::"
# port: 5349
# transport: tls
## TLS certificate/key files (must be readable by 'eturnal' user!):
#tls_crt_file: /etc/eturnal/tls/crt.pem
#tls_key_file: /etc/eturnal/tls/key.pem
## The server's public IPv4 address (default: autodetected):
#relay_ipv4_addr: "203.0.113.4"
## The server's public IPv6 address (optional):
#relay_ipv6_addr: "2001:db8::4"
## UDP relay port range (usually, several ports per A/V call are required):
relay_min_port: 49152 # This is the default.
relay_max_port: 65535 # This is the default.
## Reject TURN relaying to the following addresses/networks:
blacklist_peers:
- recommended # Expands to various addresses/networks recommended
# to be blocked. This is the default.
## If 'true', close established calls on expiry of temporary TURN credentials:
strict_expiry: false # This is the default.
## Logging configuration:
log_level: info # critical | error | warning | notice | info | debug
log_rotate_size: 10485760 # 10 MiB (default: unlimited, i.e., no rotation).
log_rotate_count: 10 # Keep 10 rotated log files.
#log_dir: stdout # Enable for logging to the terminal/journal.
## See: https://eturnal.net/doc/#Module_Configuration
modules:
mod_log_stun: {} # Log STUN queries (in addition to TURN sessions).
#mod_stats_prometheus: # Expose STUN/TURN and VM metrics to Prometheus.
# ip: any # This is the default: Listen on all interfaces.
# port: 8081 # This is the default.
# tls: false # This is the default.
# vm_metrics: true # This is the default.