You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What is Cloudflare Calls TURN pricing? How exactly is it calculated?
13
11
14
-
15
-
16
12
Cloudflare TURN pricing is based on the data sent from the Cloudflare edge to the TURN client, as described in [RFC 8656 Figure 1](https://datatracker.ietf.org/doc/html/rfc8656#fig-turn-model). This means data sent from the TURN server to the TURN client and captures all data, including TURN overhead, following successful authentication.
17
13
18
14
Pricing for Cloudflare Calls Serverless SFU and TURN services is $0.05 per GB of data used.
@@ -27,211 +23,109 @@ Traffic between Cloudflare Calls TURN and Cloudflare Calls SFU or Cloudflare Str
27
23
28
24
</div>
29
25
30
-
31
26
### Is Calls TURN HIPAA/GDPR/FedRAMP compliant?
32
27
33
-
34
-
35
-
36
-
37
28
Please view Cloudflare's [certifications and compliance resources](https://www.cloudflare.com/trust-hub/compliance-resources/) and contact your Cloudflare enterprise account manager for more information.
38
29
39
30
### Is Calls TURN end-to-end encrypted?
40
31
41
-
42
-
43
-
44
-
45
-
46
-
47
32
TURN protocol, [RFC 8656](https://datatracker.ietf.org/doc/html/rfc8656), does not discuss encryption beyond wrapper protocols such as TURN over TLS. If you are using TURN with WebRTC will encrypt data at the WebRTC level.
48
33
49
-
50
-
51
34
### What regions does Cloudflare Calls TURN operate at?
52
35
53
-
54
-
55
-
56
-
57
36
Cloudflare Calls TURN server runs on [Cloudflare's global network](https://www.cloudflare.com/network) - a growing global network of thousands of machines distributed across hundreds of locations, with the notable exception of the Cloudflare's [China Network](/china-network/).
58
37
59
-
60
-
61
38
### Does Cloudflare Calls TURN use the Cloudflare Backbone or is there any "magic" Cloudflare do to speed connection up?
62
39
63
-
64
-
65
-
66
-
67
40
Cloudflare Calls TURN allocations are homed in the nearest available Cloudflare data center to the TURN client via anycast routing. If both ends of a connection are using Cloudflare Calls TURN, Cloudflare will be able to control the routing and, if possible, route TURN packets through the Cloudflare backbone.
68
41
69
-
70
-
71
42
### What is the difference between Cloudflare Calls TURN with a enterprise plan vs self-serve (pay with your credit card) plans?
72
43
73
-
74
-
75
-
76
-
77
44
There is no performance or feature level difference for Cloudflare Calls TURN service in enterprise or self-serve plans, however those on [enterprise plans](https://www.cloudflare.com/enterprise/) will get the benefit of priority support, predictable flat-rate pricing and SLA guarantees.
78
45
79
-
80
46
### Does Cloudflare Calls TURN run in the Cloudflare China Network?
81
47
82
-
83
-
84
-
85
-
86
-
87
48
Cloudflare's [China Network](/china-network/) does not participate in serving Calls traffic and TURN traffic from China will connect to Cloudflare locations outside of China.
88
49
89
-
90
-
91
-
92
50
### How long does it take for TURN activity to be available in analytics?
93
51
94
-
95
-
96
-
97
52
TURN usage shows up in analytics in 30 seconds.
98
53
99
-
100
54
## Technical
101
55
102
56
### I need to allowlist (whitelist) Cloudflare Calls TURN IP addresses. Which IP addresses should I use?
103
57
104
-
105
-
106
-
107
-
108
-
109
58
Cloudflare Calls TURN is easy to use by IT administrators who have strict firewalls because it requires very few IP addresses to be allowlisted compared to other providers. You must allowlist both IPv6 and IPv4 addresses.
110
59
111
60
Please allowlist the following IP addresses:
112
61
113
-
*`2a06:98c1:3200::1/128`
114
-
*`2606:4700:48::1/128`
115
-
*`141.101.90.1/32`
116
-
*`162.159.207.1/32`
62
+
-`2a06:98c1:3200::1/128`
63
+
-`2606:4700:48::1/128`
64
+
-`141.101.90.1/32`
65
+
-`162.159.207.1/32`
117
66
118
67
:::caution[Watch for IP changes]
119
68
120
-
121
69
Cloudflare tries to, but cannot guarantee that the IP addresses used for the TURN service won't change. If you are allowlisting IP addresses and do not have a enterprise contract, you must set up alerting that detects changes the DNS response from `turn.cloudflare.com` (A and AAAA records) and update the hardcoded IP address(es) accordingly within 14 days of the DNS change.
122
70
123
71
For more details about static IPs, guarantees and other arrangements please discuss with your enterprise account team.
124
72
125
73
Your enterprise team will be able to provide additional addresses to allowlist as future backup to achieve address diversity while still keeping a short list of IPs.
126
74
127
-
128
75
:::
129
76
130
-
131
77
### I would like to hardcode IP addresses used for TURN in my application to save a DNS lookup
132
78
133
-
134
-
135
-
136
-
137
-
138
79
Although this is not recommended, we understand there is a very small set of circumstances where hardcoding IP addresses might be useful. In this case, you must set up alerting that detects changes the DNS response from `turn.cloudflare.com` (A and AAAA records) and update the hardcoded IP address(es) accordingly within 14 days of the DNS change. Note that this DNS response could return more than one IP address. In addition, you must set up a failover to a DNS query if there is a problem connecting to the hardcoded IP address. Cloudflare tries to, but cannot guarantee that the IP address used for the TURN service won't change unless this is in your enterprise contract. For more details about static IPs, guarantees and other arrangements please discuss with your enterprise account team.
139
80
81
+
### I see that TURN IP are published above. Do you also publish IPs for STUN?
140
82
83
+
TURN service at `turn.cloudflare.com` will also respond to binding requests ("STUN requests").
141
84
142
85
### Does Cloudflare Calls TURN support the expired IETF RFC draft "draft-uberti-behave-turn-rest-00"?
143
86
144
-
145
-
146
-
147
-
148
87
The Cloudflare Calls credential generation function returns a JSON structure similar to the [expired RFC draft "draft-uberti-behave-turn-rest-00"](https://datatracker.ietf.org/doc/html/draft-uberti-behave-turn-rest-00), but it does not include the TTL value. If you need a response in this format, you can modify the JSON from the Cloudflare Calls credential generation endpoint to the required format in your backend server or Cloudflare Workers.
149
88
150
-
151
-
152
89
### I am observing packet loss when using Cloudflare Calls TURN - how can I debug this?
153
90
154
-
155
-
156
-
157
-
158
91
Packet loss is normal in UDP and can happen occasionally even on reliable connections. However, if you observe systematic packet loss, consider the following:
159
92
160
-
* Are you sending or receiving data at a high rate (>50-100Mbps) from a single TURN client? Calls TURN might be dropping packets to signal you to slow down.
161
-
* Are you sending or receiving large amounts of data with very small packet sizes (high packet rate > 5-10kpps) from a single TURN client? Cloudflare Calls might be dropping packets.
162
-
* Are you sending packets to new unique addresses at a high rate resembling to [port scanning](https://en.wikipedia.org/wiki/Port_scanner) behavior?
163
-
164
-
93
+
- Are you sending or receiving data at a high rate (>50-100Mbps) from a single TURN client? Calls TURN might be dropping packets to signal you to slow down.
94
+
- Are you sending or receiving large amounts of data with very small packet sizes (high packet rate > 5-10kpps) from a single TURN client? Cloudflare Calls might be dropping packets.
95
+
- Are you sending packets to new unique addresses at a high rate resembling to [port scanning](https://en.wikipedia.org/wiki/Port_scanner) behavior?
165
96
166
97
### I plan to use Calls TURN at scale. What is the rate at which I can issue credentials?
167
98
168
-
169
-
170
-
171
-
172
99
There is no defined limit for credential issuance. Start at 500 credentials/sec and scale up linearly. Ensure you use more than 50% of the issued credentials.
173
100
174
-
175
101
### What is the maximum value I can use for TURN credential expiry time?
176
102
177
-
178
103
You can set a expiration time for a credential up to 48 hours in the future. If you need your TURN allocation to last longer than this, you will need to [update](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setConfiguration) the TURN credentials.
179
104
180
-
181
-
182
105
### Does Calls TURN support IPv6?
183
106
184
-
185
-
186
-
187
107
Yes. Cloudflare Calls is available over both IPv4 and IPv6 for TURN Client to TURN server communication, however it does not issue relay addresses in IPv6 as described in [RFC 6156](https://datatracker.ietf.org/doc/html/rfc6156).
188
108
189
-
190
-
191
109
### Does Calls TURN issue IPv6 relay addresses?
192
110
193
-
194
-
195
-
196
-
197
111
No. Calls TURN will not respect `REQUESTED-ADDRESS-FAMILY` STUN attribute if specified and will issue IPv4 addresses only.
198
112
199
-
200
113
### Does Calls TURN support TCP relaying?
201
114
202
-
203
-
204
-
205
-
206
-
207
115
No. Calls does not implement [RFC6062](https://datatracker.ietf.org/doc/html/rfc6062) and will not respect `REQUESTED-TRANSPORT` STUN attribute.
208
116
209
-
210
-
211
-
212
117
### I am unable to make CreatePermission or ChannelBind requests with certain IP addresses. Why is that?
213
118
214
-
215
-
216
-
217
119
Cloudflare Calls denies CreatePermission or ChannelBind requests if private IP ranges (e.g loopback addresses, linklocal unicast or multicast blocks) or IP addresses that are part of [BYOIP](/byoip/) are used.
218
120
219
121
If you are a Cloudflare BYOIP customer and wish to connect to your BYOIP ranges with Calls TURN, please reach out to your account manager for further details.
220
122
221
-
222
-
223
123
### When I send packets to relayed address without using TURN, the packets don't arrive
224
124
225
-
226
-
227
-
228
-
229
125
Cloudflare Calls denies CreatePermission or ChannelBind requests if private IP ranges (e.g loopback addresses, linklocal unicast or multicast blocks) or IP addresses that are part of [BYOIP](/byoip/) are used.
230
126
231
127
If you are a Cloudflare BYOIP customer and wish to connect to your BYOIP ranges with Calls TURN, please reach out to your account manager for further details.
232
128
233
-
234
-
235
129
### What will happen if TURN credentials expire while the TURN allocation is in use?
236
130
237
-
Cloudflare Calls will immediately stop billing and recording usage for analytics. After a short delay, the connection will be disconnected.
131
+
Cloudflare Calls will immediately stop billing and recording usage for analytics. After a short delay, the connection will be disconnected.
0 commit comments