Interconnect VPN allows you to establish a virtual point-to-point connection to Twilio with IPsec tunnels that provide the functionality, security, and management policies of a private network. All you need is an IPsec VPN gateway with connection to the Internet.
A network device (e.g. router, firewall) supporting IPsec protocol suite. The device needs to have an interface on the internet and be assigned an IPv4 address which is globally addressable/routable on the Internet.
One or more of your IP networks that will have access to Twilio. Your border devices (e.g. IP-PBX, SIP-PRI IAD, Session Border Controller, NAT gateway, etc.) will reside in these networks. in other words, these are the IP Addresses of the networks where you want them to communicate with Twilio through the IPsec tunnel.
Note that your Encryption Domain (IP routes) have to be globally unique ("public IPs") - as opposed to RFC 1918 address ranges - to avoid conflicts with other networks that Twilio platform is peered with. In other words, your IP routes have to be outside of the following ranges:
The computer system (physical hardware device or a virtual machine performing those tasks) that monitors and controls the flow of traffic in and out of your network (incoming and outgoing traffic). The firewall will have to allow your border devices to communicate with Twilio network.
In order for various Twilio products to function properly, you need to allow all Twilio's IP addresses on your side and on your firewall. Please see here for further details.
Twilio has VPN gateway(s) at each Twilio Interconnect Exchange location.
All Twilio signaling and media traffic will be initiated from fixed IP networks. Each Twilio Interconnect location has its own unique IP routes.
Twilio's VPN gateway and encryption domain details will be provided to you once you sign up for a VPN connection.
Twilio will provision bandwidth for your connection at the Twilio Exchange location specified by you. See connection bandwidth and location options listed here. For high availability, we strongly recommend connecting to at least two of our geographically redundant Twilio Interconnect locations. For example, you can select a 100-Mbps connection in Ashburn, Virginia and a 100-Mbps connection in San Jose, California to create redundant connections to Twilio on both coasts of the United States. Similarly, this can be accomplished by having connections to London and Frankfurt in Europe and Singapore and Tokyo or Sydney in the APAC region.
Twilio will issue a pre-shared key for IKE phase I authentication and send the key to you via a secure communication channel.
You will need to provide the following information:
- Desired connection location and bandwidth
- Your VPN Gateway IP
- Your Encryption Domain (IP routes)
You will be informed once your IPsec VPN has been configured. At that point your IPsec VPN configuration details including your PSK will be viewable in Twilio Console.
Configure your VPN gateway using Twilio's IPsec VPN specification and your unique PSK from the above. Advertise Twilio IP routes to your internal network (i.e reverse route injection). This will allow your SIP-enabled elements route traffic to Twilio.