Firewall requirements
To allow you to use Agora products in environments with restricted network access, Agora provides the following solutions: the firewall whitelist and the Agora cloud proxy.
The following table lists the support of Agora products for the two solutions:
Agora Products | Firewall Whitelist | Agora Cloud Proxy |
---|---|---|
Video SDK (Native, third-party frameworks) | ✘ | ✔ |
Video SDK (Web) | ✔ | ✔ |
Signalling SDK (Native) | ✔ | ✘ |
Signalling SDK (Web) | ✔ | ✔ |
On-Premise Recording SDK | ✘ | ✔ |
Interactive Gaming SDK | ✘ | ✘ |
- When using the firewall whitelist, add the domains and ports to the firewall whitelist, and do not set restrictions on IP addresses.
- When using Agora cloud proxy, refer to Connect to Agora through a restricted network
Video SDK (Web)
Add the following destination domains and the corresponding ports to your firewall whitelist.
Domains
Ports
Destination ports | Port type | Operation |
---|---|---|
80; 443; 3433; 4700 - 5000; 5668; 5669; 6080; 6443; 8667; 9667; 30011 - 30013 (for RTMP converter) | TCP | Allow |
3478; 4700 - 5000 (2.9.0 or later); 10000 - 65535 (before 2.9.0) | UDP | Allow |
Signaling SDK (Web)
Message channel
For a message channel, you need to add the following content to the firewall whitelist:
-
Domains:
-
Ports:
Destination port Protocol Operate 443; 9591; 9593; 27387 TCP Allow InfoIf you are using Signaling 1.x, also add port 9601.
Stream channel
For a stream channel, you need to add the following to your firewall whitelist:
-
Domains:
-
Ports:
Destination port Protocol Operate 80; 3433; 4700 - 5000; 5668; 5669; 6080; 6443; 8667; 9667 TCP Allow 3478; 4700 - 5000 UDP Allow
Signaling SDK (Native)
Message channel
For a message channel, you need to add the following content to the firewall whitelist:
- Domains:
- Ports:
Destination port Protocol Operate 443; 7384; 8443; 9130; 9131; 9136; 9137; 9140; 9141 TCP Allow 1080; 3000; 8000; 8130; 8443; 9120; 9121; 9700; 25000 UDP Allow
Stream channel
For a stream channel, you need to add the following to your firewall whitelist:
-
Ports:
Destination port Protocol Operate 4001 - 4150 UDP Allow
The target ports listed in this section may be adjusted according to actual conditions. If you encounter any issues, contact rtm@agora.io.