What to allow
Every request a MageSentinel check makes carries the token MageSentinel in its User-Agent. That gives you a rule any firewall can match:
(http.user_agent contains "MageSentinel")MageSentinel also lists its runner addresses in the dashboard, in the bot-protection card when you add a store and on the store’s page. Use them where your firewall works with IP lists, or together with the User-Agent rule.
Anyone can send a User-Agent string. If your firewall allows it, match the User-Agent and the runner addresses in one rule, so only MageSentinel’s own requests skip the checks.
Cloudflare
- Open the WAF. In the Cloudflare dashboard pick the domain, then Security → WAF → Custom rules → Create rule.
- Paste the expression. Choose "Edit expression" and paste
(http.user_agent contains "MageSentinel"). To pin it to the runner addresses, addand ip.src in {…}with the addresses from the dashboard. - Set the action to Skip. Tick the features to skip: the remaining custom rules, rate limiting rules, managed rules and Super Bot Fight Mode.
- Place it first. Rules run in order, so the skip rule goes at the top of the list.
(http.user_agent contains "MageSentinel" and ip.src in {203.0.113.10 203.0.113.11})Cloudflare’s free Bot Fight Mode cannot be skipped by a custom rule. If it is on and checks still come back UNKNOWN, turn it off for the zone or move to Super Bot Fight Mode, which a Skip rule can bypass. For the cache side of Cloudflare, see Cloudflare and the WooCommerce checkout.
Wordfence, Sucuri and hosting firewalls
Wordfence: Wordfence → All Options → Advanced Firewall Options → "Allowlisted IP addresses that bypass all rules". Add the runner addresses, one per line.
Sucuri: in the Sucuri firewall dashboard, Settings → Access Control → allowlist the runner addresses.
ModSecurity, Imunify360 and other hosting firewalls: the allowlist usually lives in the hosting panel or with the host’s support team. Send them the runner addresses and the User-Agent token, and ask for both to be excluded from bot and rate-limit rules.
If the store also asks for a CAPTCHA at checkout, an allowlist on the firewall does not reach it. The MageSentinel connector has a switch for that, "Let MageSentinel’s checks past your CAPTCHA", which serves the store’s own checks without the CAPTCHA. More on what firewalls block at checkout in WAF rules blocking checkout.
Confirm it works
In the dashboard, the bot-protection card has a "Test again" button that probes the storefront and reports whether anything still stands in the way. After that, the next scheduled check should come back PASS or FAIL rather than UNKNOWN.
UNKNOWN runs never send an alert, so a firewall that starts challenging the monitor does not page anyone. It shows on the store as its own signal instead. What UNKNOWN means explains the other conditions that produce it.
Find out your checkout broke before your customers do.
Real checkout checks for Magento and WooCommerce · free plan · no card required