Tim den Dikken
New Pleskian
- Server operating system version
- Ubuntu 24.04.3 LTS
- Plesk version and microupdate number
- Plesk Obsidian 18.0.72
Hi there fellow Pleskians,
I’m trying to whitelist the Cookiebot scanner in my Plesk server but can’t seem to get it working.
I’ve been going back and forward with their support and the result is that it’s really an issue on my side (I’ve also excluded it being a server-level problem as I tested the server plain without any firewall).
Cookiebot says their scans only ever come from the following static IPs:
20.223.9.138
34.107.102.47
34.141.10.24
34.159.86.126
34.159.168.195
34.159.247.222
35.198.78.207
35.198.137.6
35.198.160.49
35.246.143.2
35.246.191.14
…and their user agent looks like this:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; Cookiebot/1.0; +Cookiebot™ CMP by Usercentrics - GDPR Compliance for SMBs) Chrome/X.X.X.X Safari/537.36
I’ve already tried all the obvious ways of allowing them but the scanner still gets blocked:
Which really makes you think it is a sever level issue, but I tried the server without Plesk and it works...
Has anyone successfully whitelisted the Cookiebot scanner in Plesk?
Do I maybe need to add something directly to the nginx.conf or Apache directives (like allow all with a specific user agent)?
Or is there a trick with Fail2Ban, mod_security rules, or Plesk’s Web Application Firewall that I’m missing?
Any tips or working configs would be greatly appreciated
I’m trying to whitelist the Cookiebot scanner in my Plesk server but can’t seem to get it working.
I’ve been going back and forward with their support and the result is that it’s really an issue on my side (I’ve also excluded it being a server-level problem as I tested the server plain without any firewall).
Cookiebot says their scans only ever come from the following static IPs:
20.223.9.138
34.107.102.47
34.141.10.24
34.159.86.126
34.159.168.195
34.159.247.222
35.198.78.207
35.198.137.6
35.198.160.49
35.246.143.2
35.246.191.14
…and their user agent looks like this:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; Cookiebot/1.0; +Cookiebot™ CMP by Usercentrics - GDPR Compliance for SMBs) Chrome/X.X.X.X Safari/537.36
I’ve already tried all the obvious ways of allowing them but the scanner still gets blocked:
- Added the above IPs to Tools & Settings → Firewall (Plesk Firewall extension) as “allow incoming from” to test.
- Added them to Fail2Ban trusted IP list and disabled relevant jails temporarily to test.
- Added Allow from <IP> rules in .htaccess (Apache) and restarted Apache/Nginx
- Disabled ModSecurity temporarily to test and even tried adding a custom whitelist rule there
Which really makes you think it is a sever level issue, but I tried the server without Plesk and it works...
Has anyone successfully whitelisted the Cookiebot scanner in Plesk?
Do I maybe need to add something directly to the nginx.conf or Apache directives (like allow all with a specific user agent)?
Or is there a trick with Fail2Ban, mod_security rules, or Plesk’s Web Application Firewall that I’m missing?
Any tips or working configs would be greatly appreciated