January 23, 2015
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.
In a high level, this is how the traffic flow will be:
With that in mind, we’ll need to setup the following:
- CloudProxy pointing to Hosting Provider, as normally it is.
- MaxCDN pointing to CloudProxy
Enable the CDN option on the CloudProxy Dashboard setting it to MaxCDN. Just like on this image:
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.
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:
Finally, inside MaxCDN pull zone Edge Settings, you’ll need to check the following boxes:
- That’s it. You now have all the benefits of MaxCDN services and of Sucuri firewall.