Skip to content

IP Addresses of Popular Services

Timo Schwarzer edited this page Oct 10, 2018 · 17 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 [
    '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 [
    '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 10/10/2018, they are as follows:

return [
    'proxies' => [
        '103.21.244.0/22',
        '103.22.200.0/22',
        '103.31.4.0/22',
        '104.16.0.0/12',
        '108.162.192.0/18',
        '131.0.72.0/22',
        '141.101.64.0/18',
        '162.158.0.0/15',
        '172.64.0.0/13',
        '173.245.48.0/20',
        '188.114.96.0/20',
        '190.93.240.0/20',
        '197.234.240.0/22',
        '198.41.128.0/17',
        '2400:cb00::/32',
        '2405:b500::/32',
        '2606:4700::/32',
        '2803:f800::/32',
        '2c0f:f248::/32',
        '2a06:98c0::/29',
    ],
];

Tip: To collaborate and update this IPs easily, use the following regex in a text editor:

Find: (^.+$) then Replace All: \t\t'$1'

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.

Incapsula

Incapsula has a documented list of IP ranges. As of 4 September 2017, they are as follows:

return [
    'proxies' => [
        '199.83.128.0/21',
        '198.143.32.0/19',
        '149.126.72.0/21',
        '103.28.248.0/22',
        '45.64.64.0/22',
        '185.11.124.0/22',
        '192.230.64.0/18',
        '107.154.0.0/16',
        '45.60.0.0/16',
        '45.223.0.0/16',
        '2a02:e980::/29',
    ],
];

There is also an API endpoint that can be used to get the IP addresses programmatically, it is documented on the same page linked above.

Clone this wiki locally
You can’t perform that action at this time.