Whitelisting JetPack With Cloudflare Firewall Rules
-
I am trying to correctly whitelist JetPack within our Cloudflare account so that JetPack can monitor our active sites.
The issue it that we setup some Firewall rules on Cloudflare to force people from certain countries to pass a challenge before gaining access to our sites.
Unfortunately one of the countries that we need to prevent direct access to our sites from is the United States because there are too many malicious scripts sending queries to our sites from servers in the USA.
But as soon as we put the Firewall Rule in place to challenge IP addresses from the USA then JetPack is no longer able to monitor our sites.
So we created an additional rule to allow the following IP ranges from the USA to pass though and this seems to allow JetPack to continue to monitor our sites correctly:
192.0.64.0/24 192.0.65.0/24 192.0.66.0/24 192.0.67.0/24 192.0.68.0/24 192.0.69.0/24 192.0.70.0/24 192.0.71.0/24 192.0.72.0/24 192.0.73.0/24 192.0.74.0/24 192.0.75.0/24 192.0.76.0/24 192.0.77.0/24 192.0.78.0/24 192.0.79.0/24 192.0.80.0/24 192.0.81.0/24 192.0.82.0/24 192.0.83.0/24 192.0.84.0/24 192.0.85.0/24 192.0.86.0/24 192.0.87.0/24 192.0.88.0/24 192.0.89.0/24 192.0.90.0/24 192.0.91.0/24 192.0.92.0/24 192.0.93.0/24 192.0.94.0/24 192.0.95.0/24 192.0.96.0/24 192.0.97.0/24 192.0.98.0/24 192.0.99.0/24 192.0.100.0/24 192.0.101.0/24 192.0.102.0/24 192.0.103.0/24 192.0.104.0/24 192.0.105.0/24 192.0.106.0/24 192.0.107.0/24 192.0.108.0/24 192.0.109.0/24 192.0.110.0/24 192.0.111.0/24 192.0.112.0/24 192.0.113.0/24 192.0.114.0/24 192.0.115.0/24 192.0.116.0/24 192.0.117.0/24 192.0.118.0/24 192.0.119.0/24 192.0.120.0/24 192.0.121.0/24 192.0.122.0/24 192.0.123.0/24 192.0.124.0/24 192.0.125.0/24 192.0.126.0/24 192.0.127.0/24 122.248.245.244/32 54.217.201.243/32 54.232.116.4/32 192.0.80.0/20 192.0.96.0/20 192.0.112.0/20 195.234.108.0/22
But is there a way to whitelist JetPack without whitelisting of all these IP ranges?
We don’t feel secure having whitelisted so many IP address ranges because we assume other servers are also using these IP addresses and not just JetPack.
Or is there any way we can shrink this list down at least, but so that JetPack doesn’t get blocked from our sites?
We also whitelisted the
jetmon/1.0
useragent, but that only seems to cover the part of JetPack which monitors if a site is online, but doesn’t cover all of JetPack’s queries needed to monitor site stats, etc.Thanks…
- The topic ‘Whitelisting JetPack With Cloudflare Firewall Rules’ is closed to new replies.