Skip to content

IP Addresses of Popular Services

Chris Brown edited this page Feb 22, 2015 · 21 revisions

Some PaaS services, such as CDNs and host providers, offer proxy services. Here are the IP addresses used by some of them.

Rackspace Load Balancers

Rackspace does not document their load balancer IP addresses (they are constantly changing), and so we must trust all possible addresses:

<?php
return array(
    'proxies' => '*',
);

AWS Elastic Load Balancers

AWS does not document their load balancer IP addresses (they are constantly changing), and so we must trust all possible addresses:

<?php
return array(
    'proxies' => '*',
);

CloudFlare

CloudFlare will let you know the IP addresses they use when proxying requests to your server. CloudFlare has a documented list of IP ranges. As of 8/11/2014, they are as follows:

return array(
    'proxies' => array(
        '199.27.128.0/21',
        '173.245.48.0/20',
        '103.21.244.0/22',
        '103.22.200.0/22',
        '103.31.4.0/22',
        '141.101.64.0/18',
        '108.162.192.0/18',
        '190.93.240.0/20',
        '188.114.96.0/20',
        '197.234.240.0/22',
        '198.41.128.0/17',
        '162.158.0.0/15',
        '104.16.0.0/12',
        '2400:cb00::/32',
        '2606:4700::/32',
        '2803:f800::/32',
        '2405:b500::/32',
        '2405:8100::/32'
    ),
);

MaxCDN

According to their documentation, you should contact their support to find out which edge servers you are provisioned on in order to set them as a trusted proxy.

Linode Node Balancers

Linode does not give out an IP address range, but you are assigned a specific IP address when you use the Node Balancer service. You can login to get the IP address, or use their Node Balancer API's List method to get the IP addresses of the Node Balancers you are using.

Clone this wiki locally