IP Addresses for Elastic SIP Trunking Services
Global media gateway IP address ranges:
Public Connections - Global Media IP Range
The Public Connections Destination IP Ranges and Port Ranges are now identical across all locations:
| Secure Media (ICE/STUN/SRTP) Edge Locations | Protocol | Source IP | Source Port † | Destination IP Ranges | Destination Port Range |
|---|---|---|---|---|---|
| sydney (au1 ) sao-paulo (br1 ) dublin (ie1 ) frankfurt (de1 ) tokyo (jp1 ) singapore (sg1 ) ashburn (us1 ) umatilla (us2 ) roaming (gll ) | UDP | ANY | ANY | 168.86.128.0/18 | 10,000 - 60,000 |
† The SDK will select any available port from the ephemeral range. On most machines, this means the port range 1,024 to 65,535.
Allow all of the following Twilio IP address ranges and ports through your firewall for SIP signaling traffic. This is important if you have Numbers in different edge locations and for resiliency purposes. For example, if North America Virginia gateways are down, then North America Oregon gateways will be used. Twilio does not guarantee which edge location the media egresses from unless you specify the edge parameter. This depends on which PSTN-SIP Gateway delivers the call to which Twilio edge location.
These IP addresses are provided solely for firewall configuration. Not all of these IP addresses will host active gateways at a given time. However, your SIP infrastructure should be prepared to accept signaling traffic from any of these IP addresses at all times. Avoid sending traffic directly to these IP addresses. Instead, use your configured termination fully qualified domain name (FQDN). For more information, see SIP Trunking configuration documentation.
The following sections list the IP addresses for each regional gateway:
Use the following IP addresses for North America Virginia gateways:
154.172.60.0/30 (individual IP addresses below):254.172.60.0354.172.60.1454.172.60.2554.172.60.36Ports: 5060 (UDP/TCP), 5061 (TLS)
Use the following IP addresses for North America Oregon gateways:
154.244.51.0/30 which translates to:254.244.51.0354.244.51.1454.244.51.2554.244.51.36Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for Europe Ireland gateways:
154.171.127.192/30 which translates to:254.171.127.192354.171.127.193454.171.127.194554.171.127.1956Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for Europe Frankfurt gateways:
135.156.191.128/30 which translates to:235.156.191.128335.156.191.129435.156.191.130535.156.191.1316Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for Asia-Pacific Tokyo gateways:
154.65.63.192/30 which translates to:254.65.63.192354.65.63.193454.65.63.194554.65.63.1956Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for Asia-Pacific Singapore gateways:
154.169.127.128/30 which translates to:254.169.127.128354.169.127.129454.169.127.130554.169.127.1316Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for Asia-Pacific Sydney gateways:
154.252.254.64/30 which translates to:254.252.254.64354.252.254.65454.252.254.66554.252.254.676Ports: 5060 (UDP/TCP), 5061 (TLS)7
Use the following IP addresses for South America São Paulo gateways:
1177.71.206.192/30 which translates to:2177.71.206.1923177.71.206.1934177.71.206.1945177.71.206.1956Ports: 5060 (UDP/TCP), 5061 (TLS)7