If you are using MaxCDN and want to add Sucuri WAF/Firewall protection to it, this guide should help you get that configured. By using both services together, you get the benefits of MaxCDN caching and performance and the security of Sucuri firewall.

  1. In a high level, this is how the traffic flow will be:

  2. With that in mind, we’ll need to setup the following:

    1. CloudProxy pointing to Hosting Provider, as normally it is.
    2. MaxCDN pointing to CloudProxy
  3. Enable the CDN option on the CloudProxy Dashboard setting it to MaxCDN. Just like on this image:

  4. On CloudProxy make sure that the “internal” (hosting) IP address is actually pointing to your hosting company IP address. If the site was previously live at MaxCDN when you added it, you will need to manually edit the internal IP address to point to your hosting.

  5. Inside MaxCDN settings page for the Pull Zone, you will need to edit the Origin IP address, within your existing zone, to match your CloudProxy IP Address:

  6. Finally, inside MaxCDN pull zone Edge Settings, you’ll need to check the following boxes:

  7. That’s it. You now have all the benefits of MaxCDN services and of Sucuri firewall.