Firewall requirements
Introduction
To allow you to use Agora products in environments with restricted network access, Agora provides two 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 | 
|---|---|---|
| RTC SDK (Native, third-party frameworks) | ✘ | ✔ | 
| RTC SDK (Web) | ✔ | ✔ | 
| RTM SDK (Native, Web) | ✔ | ✘ | 
| On-premise Recording SDK | ✘ | ✔ | 
| Interactive Gaming SDK | ✘ | ✘ | 
- When using the firewall whitelist, refer to this page to add the domains and ports to the firewall whitelist, and do not set restrictions on IP addresses.
 - When using Agora cloud proxy, refer to the following pages:
 
RTC SDK
RTC SDK (Web)
Add the following destination domains and the corresponding ports to your firewall whitelist, depending on the version of the Web SDK you are using.
Domains
- 
Web SDK 4.x
- 
4.4.0 and later
 - 
Versions earlier than 4.4.0
 
 - 
 - 
Web SDK 3.x
- 
3.5.0 and later
 - 
Versions earlier than 3.5.0
 
 - 
 
Ports
| Destination ports | Port type | Operation | 
|---|---|---|
| 80; 443; 3433; 4700 - 5000; 5668; 5669; 6080; 6443; 8667; 9667; 30011 - 30013 (for Media Push) | TCP | Allow | 
| 3478; 4700 - 5000 (2.9.0 or later); 10000 - 65535 (before 2.9.0) | UDP | Allow | 
RTM SDK
RTM SDK (Native)
Add the following destination domains and the corresponding ports to the firewall whitelist:
| Destination ports | Port type | Operation | 
|---|---|---|
| 8443; 9130; 9131; 9136; 9137; 9140, 9141 | TCP | Allow | 
| 1080; 8000; 8130; 8443; 9120; 9121; 9700; 25000 | UDP | Allow | 
RTM SDK (Web)
Add the following destination domains and the corresponding ports to the firewall whitelist:
Domains
- 1.4.3 or later
 
- Earlier than 1.4.3
 
Ports
| Destination ports | Port type | Operation | 
|---|---|---|
| 443; 6443; 9591; 9593; 9601 | TCP | Allow |