Network traffic flow between CDN servers behind NAT¶
A signaling and media network traffic flows directly between CDN servers. The network interfaces to use will be chosen as follows if CDN servers are behind NAT:
-
If Origin and Edge nodes are in the same private network/VPC (or in the same cloud region and datacenter), and the Origin private address is set in Edge parameters, for example
then signaling traffic will flow via private network.
-
If Origin and Edge nodes are in the same private network/VPC (or in the same cloud region and datacenter), and private address is allowed to use in SDP candidates both on Origin and Edge
then media traffic will flow via private network, but a service packets like
Receiver Report
andSender Report
will go through external network because external address is always the first in candidates list for publishing and playback in browsers to work correctly. -
In all the other cases signaling and media traffic will flow via external network