Linux 软件免费装
Banner图

Deerwood Country Access

开发者 williamqlee
更新时间 2026年10月1日 02:38
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security firewall cloudflare country blocking geoblock

下载

1.0.11

详情介绍:

Deerwood Country Access makes geographic access control easy to manage from WordPress. Choose which countries may access your site, detect and rate-limit repeat offenders, and optionally connect Cloudflare with a one-click OAuth authorization so unwanted traffic can be stopped at the edge before it reaches WordPress. New installations are preconfigured for "Allow selected countries only" with Canada and the United States selected. Protection remains OFF until an administrator enables it. Highlights Country Access is focused on geographic and IP access control. It does not replace a complete WordPress malware scanner or security suite.

安装:

  1. Install and activate Country Access.
  2. Open Settings > Country Access.
  3. Review the preselected Canada + United States allow-only profile and make sure your own country is allowed.
  4. Review the administrator safety window and trusted IP options before enabling protection.
  5. Turn Country Access ON only when you are ready to enforce the policy.
  6. Optional: click Connect Cloudflare to move supported country and repeat-offender blocking to Cloudflare's edge.
  7. After changing country or Cloudflare settings, test the site before ending your administrator session so you do not accidentally lock yourself out.
Cloudflare is optional. No Cloudflare API token is required for the normal OAuth connection.

常见问题:

Do I need Cloudflare?

No. Deerwood Country Access works without Cloudflare. Its optional IPWhois geolocation fallback can be enabled by the administrator when a Cloudflare country header is unavailable. The external fallback is OFF by default. Connecting Cloudflare allows Country Access to maintain an edge WAF rule so supported unwanted traffic can be blocked before it reaches your web server.

Does protection turn on immediately after activation?

No. New installations start with Canada and the United States selected in Allow Only mode, but Country Access remains OFF until an administrator enables it.

Does Country Access use one Cloudflare rule per IP or country?

No. Country Access maintains a single custom WAF rule named Country Access: Protection. Geographic restrictions and managed repeat-offender IPs are combined into that rule and updated in place. Country Access does not intentionally modify or delete unrelated Cloudflare rules.

What happens if the Cloudflare custom-rule limit is reached?

Country Access leaves unrelated Cloudflare rules untouched. Local WordPress protection continues to operate and the administrator is shown the Cloudflare error.

Can Country Access accidentally block the administrator?

Country Access includes multiple safeguards. It checks the administrator's current country before syncing risky geographic settings, supports trusted IPs, and can temporarily exempt the current administrator IP for 30 minutes while an edge rule is changed.

What about Googlebot and other search engines?

The Cloudflare settings include Allow verified search engines and trusted bots, enabled by default. When enabled, Country Access uses Cloudflare's verified cf.client.bot signal so known good crawlers such as Googlebot and Bingbot can bypass the Country Access edge rule. Country Access does not trust a visitor simply because its User-Agent says "Googlebot".

Does rate limiting apply to all visitors?

No. The built-in rate limiter focuses on country-blocked traffic and suspicious probe paths. High-risk requests such as .env, .git, wp-config, and phpMyAdmin probes receive higher weights.

Why can the WordPress activity log be quiet after Cloudflare protection is enabled?

Traffic blocked at Cloudflare's edge never reaches WordPress, so Country Access cannot record those requests in its local WordPress log. This is expected and reduces load on the origin server.

更新日志:

1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0