/[resiprocate]/main/reTurn/reTurnServer.config
ViewVC logotype

Contents of /main/reTurn/reTurnServer.config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10468 - (show annotations) (download)
Wed Sep 11 09:56:05 2013 UTC (6 years, 4 months ago) by Dpocock
File size: 5920 byte(s)
reTurn: listen on IPv6 as well as IPv4
1 ########################################################
2 # reTurnServer configuration file
3 ########################################################
4
5 ########################################################
6 # Transport settings
7 ########################################################
8
9 # Local IP Address to bind base STUN/TURN transports to.
10 # Note: This is the IP Address that clients should be configured to
11 # send STUN/TURN traffic to.
12 # Warning: If you are enabling RFC3489 backwards compatability
13 # (see AltStunAddress and AltStunPort settings), then do
14 # not leave this set to INADDR_ANY (0.0.0.0), place
15 # a valid IP address from a local NIC here.
16 TurnAddress = 0.0.0.0
17
18 # Local IPv6 Address to bind base STUN/TURN transports to.
19 # Note: This is the IP Address that IPv6 clients should be configured to
20 # send STUN/TURN traffic to.
21 # Not currently supported with RFC3489 backwards compatability
22 TurnV6Address = ::0
23
24 # Local UDP/TCP Port to bind base STUN/TURN transports to.
25 # Note: This is the port that clients should be configured to
26 # send STUN/TURN traffic over UDP and TCP.
27 TurnPort = 3478
28
29 # Local TLS Port to bind base STUN/TURN transports to.
30 # Note: This is the port that clients should be configured to
31 # send STUN/TURN traffic over TLS.
32 TlsTurnPort = 5349
33
34 # Local IP Address to bind the transports used in Classic Stun
35 # NAT type discovery. Note: This address is only required if
36 # you need Classic Stun (RFC3489) support.
37 # It must be different from the TurnAddress setting, and a valid
38 # local IP Address. Use 0.0.0.0 to disable RFC3489 backwards compatbility
39 # support.
40 # Note: The STUN/TURN Client should not be configured with this
41 # address anywhere. This address is discovered by clients
42 # in Binding responses that are sent to the TurnAddress.
43 AltStunAddress = 0.0.0.0
44
45 # Local UDP Port to bind classic STUN (RFC3489) transports to.
46 # Set AltStunPort to 0 to disable any RFC3489 backwards compatibility,
47 # if you do not have a need to support the NAT type discovery procedures
48 # of RFC3489.
49 # Note: STUN/TURN Client should not be configured with this port anywhere.
50 # This port is discovered by clients in Binding responses that are
51 # sent to the TurnAddress/TurnPort.
52 AltStunPort = 0
53
54
55 ########################################################
56 # Logging settings
57 ########################################################
58
59 # Logging Type: syslog|cerr|cout|file
60 LoggingType = file
61
62 # Logging level: NONE|CRIT|ERR|WARNING|INFO|DEBUG|STACK
63 LoggingLevel = DEBUG
64
65 # Log Filename
66 LogFilename = reTurnServer.log
67
68 # Log file Max Size
69 LogFileMaxLines = 50000
70
71
72 ########################################################
73 # UNIX related settings
74 ########################################################
75
76 # Must be true or false, default = false, not supported on Windows
77 Daemonize = false
78
79 # On UNIX it is normal to create a PID file
80 # if unspecified, no attempt will be made to create a PID file
81 #PidFile = /var/run/reTurnServer/reTurnServer.pid
82
83 # UNIX account information to run process as
84 #RunAsUser = return
85 #RunAsGroup = return
86
87
88 ########################################################
89 # Authentication settings
90 ########################################################
91
92 # Authentication Realm for Long Term Passwords
93 AuthenticationRealm = reTurn
94
95 # File containing user authentication data.
96 # The format of each line is:
97 #
98 # login:password:realm:state
99 #
100 # Typically, the realm field must match the value of AuthenticationRealm
101 # defined above.
102 #
103 # The state field can be one of:
104 #
105 # authorized (user authorized)
106 # refused (user denied access)
107 # restricted (for when bandwidth limiting is implemented)
108 #
109 # This file format is interchangeable with TurnServer.org's user database
110 #
111 UserDatabaseFile = users.txt
112
113
114 ########################################################
115 # TURN Allocation settings
116 ########################################################
117
118 NonceLifetime = 3600
119
120 # The starting port number to use for TURN allocations.
121 # This number MUST be an even number, in order to ensure
122 # proper operation for allocation of RTP port pairs.
123 # Default: 49152 (start of the Dynamic and/or Private Port range
124 # - recommended by RFC)
125 AllocationPortRangeMin = 49152
126
127 # The ending port number to use for TURN allocations.
128 # This number MUST be an odd number, in order to ensure
129 # proper operation for allocation of RTP port pairs.
130 # Default: 65535 (end of the Dynamic and/or Private Port range
131 # - recommended by RFC)
132 AllocationPortRangeMax = 65535
133
134 # Default time (in seconds) that an allocation will expire if an allocation
135 # refresh request is not sent. Default is 600 (10 minutes).
136 DefaultAllocationLifetime = 600
137
138 # Maximum time (in seconds) allowed that will be accepted in an allocation requests
139 # lifetime header (ie. between TURN allocation refreshes). If an allocation is
140 # received with a higher lifetime, then the response will be returned with this
141 # value instead. Default is 3600 (1 hour).
142 MaxAllocationLifetime = 3600
143
144
145 ########################################################
146 # SSL/TLS Certificate settings
147 ########################################################
148
149 # TLS Server Certificate Filename (loaded from working directory)
150 # The PEM formated file that contains the private and public
151 # key of the certificate that will be presented to clients
152 # connecting over TLS.
153 TlsServerCertificateFilename = server.pem
154
155 # TLS temporary Diffie-Hellman parameters file (loaded from working directory)
156 TlsTempDhFilename = dh512.pem
157
158 # TLS server private key certificate password required to read
159 # from PEM file. Leave blank if key is not encrypted.
160 TlsPrivateKeyPassword =
161
162

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27