Twilio is a great service for developers who want to integrate SMS, MMS, and voice features to their websites and applications. One of the great things that twilio does is provide status updates on the messages you send. Letting you know if they are Queued, Sending, Sent, or Delivered. However these status updates come from a Proxy that is Cloud Hosted, and does not originate from any specific IP or block of IPs. When I submitted a ticket to Twilio asking for the IP blocks they use, they said there are no set of IPs used, and that they are constantly changing.
For me this is a problem. I run a very thick firewall, with over a dozen rouge countries blocked, plus any botnet, or hacker is instantly added to my firewall. For Datacenters that seem to harbor these low lifes, I have looked up their IP blocks and firewalled the entire datacenter. These precations have gone a long way to eliminate the amount of mail and form spam that would usually waste both mine and my client's time.
However After a little digging through my Access Logs I have been able to compile a list of IPs that Twilio has used to access my server. Hopefully these will help others who need at least something they can whitelist on their firewall for twilio. Seems they are using cloud hosting services by Amazon.com and Amazon AWS. Most of the requests come from the 54.0.0.0/8 Block, and a few from 23.0.0.0/8 block.
This is great as know I know which IPs to whitelist on my server, but its also bad because in my experience Amazon AWS tends to harbor spam bots and comment spammers. At one point I completely firewalled their known IP blocks.
IP Address | Visits |
54.226.127.241 | 29 |
54.204.212.117 | 28 |
54.196.162.33 | 27 |
54.196.41.208 | 26 |
54.90.253.212 | 26 |
54.91.34.93 | 26 |
54.242.129.90 | 24 |
50.16.20.215 | 23 |
54.198.243.72 | 22 |
50.19.40.239 | 22 |
23.22.134.41 | 22 |
107.21.186.211 | 20 |
54.237.20.140 | 4 |
54.243.15.125 | 3 |
54.81.0.48 | 3 |
54.83.105.40 | 3 |
54.81.84.69 | 2 |
54.224.106.96 | 2 |
54.197.108.146 | 2 |
54.224.170.105 | 2 |
54.226.145.198 | 2 |
54.205.205.190 | 2 |
54.224.153.36 | 2 |
54.211.184.200 | 1 |
54.205.56.131 | 1 |
54.242.98.252 | 1 |
54.237.96.245 | 1 |
54.234.134.247 | 1 |
54.81.176.160 | 1 |
50.17.78.120 | 1 |
54.226.207.91 | 1 |
23.20.94.82 | 1 |
54.80.102.210 | 1 |
23.22.61.14 | 1 |