Bypass Guard for Cloudflare
Blocks requests that bypass Cloudflare by requiring a secret token header. For hosts that offer no stronger origin protection.
Choix solide
Bypass Guard for Cloudflare is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Bypass Guard for Cloudflare stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| cloudflare | >100 |
| pare-feu | >100 |
| coup de tête | >100 |
| Origin | >100 |
| la sécurité | >100 |
Adoption de version
Part de sites actifs par version.
About Bypass Guard for Cloudflare
À partir du Lisez-moi officiel · v1.0.0Description
The problem
Cloudflare protects your site only for traffic that goes through Cloudflare. If your server’s IP address leaks, attackers can send requests to it directly and skip Cloudflare’s protection entirely. The usual fixes require server or firewall access, which shared hosting providers often don’t give you.
The solution
Bypass Guard uses a shared secret to tell proxied traffic from direct traffic:
- The plugin generates a random secret token.
- You add a rule in Cloudflare that attaches this token to every request it forwards, in a header called
BYPASS-GUARD-TOKEN. - The plugin checks each WordPress request. If the header is missing or wrong, the request is answered with
403 Forbidden.
Because the header is added at Cloudflare’s edge, a request that hits the origin directly arrives without it, unless the sender already knows the token.
Built-in safety against locking yourself out
- The filter cannot be switched on until the plugin has seen at least one request carrying the correct token. This proves your Cloudflare rule works before anything gets blocked.
- Until then, the settings page shows a step by step setup guide with copy buttons for the header name and token.
- WP-CLI commands are never filtered, so you always keep command line access.
- Deactivating the plugin always switches the filter off.
Logging
Every blocked request is logged with its date and time, IP address, request method, URL and user agent. You can view and clear the log on the settings page. This helps you confirm that the filter works, spot scanners that found your server’s IP, and find legitimate services that were blocked by mistake.
The log keeps the 500 most recent entries, so a flood of requests cannot fill your database. Token values are never logged, not even incorrect ones.
The logged IP address is the one that actually connected to your server. Headers such as CF-Connecting-IP or X-Forwarded-For are ignored for blocked requests, because anyone bypassing Cloudflare can set them to any value.
Is this plugin right for you?
This plugin is a fallback for when better options are not available. Check with your host whether you can use either of these first:
- Authenticated Origin Pulls (mutual TLS): your web server only accepts connections that present Cloudflare’s client certificate.
- A firewall that only allows Cloudflare’s IP ranges: your server refuses connections from anywhere else.
Both work at the server or network level, protect everything (including images and cached pages) and do not depend on a shared secret. Many shared hosting plans allow neither, and that is the situation this plugin is built for. You can also use it alongside them as an extra layer.
Limitations
The plugin runs inside WordPress, so it only sees requests that WordPress itself handles:
- Static files (images, CSS, JavaScript, uploads) are usually served directly by the web server and stay reachable.
- Page caches that run before plugins load are not filtered. This includes caching plugins using an
advanced-cache.phpdrop-in and server-level caches such as LiteSpeed Cache, Varnish or nginx FastCGI cache. Cached pages may still be served to direct requests. - The token is a shared secret. Anyone who learns it can get past the filter. It is visible to site administrators, to anyone with database access and to anyone with access to your Cloudflare account.
If you can edit your server configuration or .htaccess file, checking the same header there as well closes the first two gaps.
Source code and contributions
Bypass Guard for Cloudflare is developed openly on GitHub. Bug reports, feature requests and pull requests are welcome:
https://github.com/agabor/bypass-guard-for-cloudflare
Désistement
Bypass Guard for Cloudflare is an independent open source project. It is not affiliated with, endorsed by or supported by Cloudflare, Inc. “Cloudflare” is a trademark of Cloudflare, Inc. and is used here only to describe the service this plugin works with. No Cloudflare logos, artwork or documentation are included in this plugin.
Installation
Avant de commencer
Make sure that:
- Your site’s DNS records are proxied in Cloudflare (orange cloud icon). DNS-only records send traffic straight to your server, so the header would never be added.
- Your SSL/TLS encryption mode is Full (strict). In Flexible mode Cloudflare talks to your server over plain HTTP, which would send the token unencrypted with every request.
- You have FTP, SFTP, file manager or WP-CLI access to your site, in case you need to disable the plugin manually (see the FAQ).
Step 1: Install the plugin
Install and activate it from the Plugins screen, or upload the bypass-guard-for-cloudflare folder to /wp-content/plugins/ and activate it. Then open Settings → Bypass Guard. You will see the header name and your generated token, each with a Copy button.
Step 2: Add the header in Cloudflare
Create a Request Header Transform Rule for your site that sets a static header on all incoming requests:
- Header name:
BYPASS-GUARD-TOKEN - Value: the token from the settings page
At the time of writing, you find this in the Cloudflare dashboard by opening your site (zone), going to Rules → Overview and choosing Create rule → Request Header Transform Rule. Give the rule any name, set the match condition to All incoming requests, choose Set static under the header modification, fill in the two values above and select Deploy. Cloudflare occasionally reorganises its dashboard; if these menu names do not match, look for “Transform Rules” in Cloudflare’s own documentation.
Step 3: Confirm detection
Reload the plugin’s settings page through your normal domain. Once a request with the correct token arrives, the Header Status changes to Detected and the Enable Filter button becomes available.
Step 4: Enable the filter and test it
Select Enable Filter. Then check that direct access is blocked by sending a request straight to your server’s IP address. For example, from a terminal:
curl -k -I --resolve example.com:443:203.0.113.10 https://example.com/
Replace example.com with your domain and 203.0.113.10 with your server’s real IP. The response should be 403 Forbidden, and the request should appear in the plugin’s log.
Journal de modifications
Version initiale.
1.0.0
- Version initiale.
- Token generation, header detection and request filtering.
- Token regeneration while the filter is disabled.
- Built-in setup guide with copy buttons for the header name and token.
- Logging of blocked requests, limited to the 500 most recent entries.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Bypass Guard for Cloudflare alternatives
All cloudflare plugins →FAQ
Bypass Guard for Cloudflare: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Bypass Guard for Cloudflare free?
Yes. Bypass Guard for Cloudflare is free to download and use from the official WordPress.org plugin directory.
Is Bypass Guard for Cloudflare safe to use in 2026?
Bypass Guard for Cloudflare is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
How many websites use Bypass Guard for Cloudflare?
Bypass Guard for Cloudflare is active on 10+ WordPress websites and has been downloaded 513 times since it launched in October 2026. It was downloaded 97 times in the last 30 days.
Does Bypass Guard for Cloudflare work with WordPress 7.1?
Yes. The developer has tested Bypass Guard for Cloudflare up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.
What PHP version does Bypass Guard for Cloudflare need?
Bypass Guard for Cloudflare requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Bypass Guard for Cloudflare last updated?
The latest version, 1.0.0, was released on October 5, 2026 (2 months ago).
Who makes Bypass Guard for Cloudflare?
Bypass Guard for Cloudflare is developed and maintained by Gabor Angyal.
What are the best alternatives to Bypass Guard for Cloudflare?
The most popular alternatives to Bypass Guard for Cloudflare are Simple CAPTCHA with Cloudfl… (200K+ installs), Cloudflare (200K+ installs) and Flexible SSL for CloudFlare (100K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
