Behind a reverse proxy, a self-hosted WordPress site needs accurate client-IP handling, or rules based on source addresses end up evaluating the proxy rather than the visitor. Adding application protection to that stack also means choosing where administrators will set request controls, review files, and investigate security events, alongside existing proxy and server tools.
As a free WordPress security plugin, Durabl adds this application-security layer directly to the existing stack. The standard deployment requires no changes to origin routing or DNS. Administrators run security scans, enable the WAF, review application findings, and examine events from the WordPress dashboard, while the surrounding infrastructure is left as it is.
The setup assumes a working self-hosted WordPress installation, an administrator account, the CIDR ranges of any load balancer or proxy trusted to forward client IPs, and access to the reverse-proxy configuration where one exists.
Add Durabl to the Running Stack
Many self-hosted stacks combine Linux as the operating system, MySQL or MariaDB for application data storage, and Apache or Nginx in front of PHP. Durabl.net works at the WordPress layer, with direct context about themes, plugins, application routes, requests, files, and vulnerabilities, while administrators manage the underlying services and host separately.
For an existing installation, deployment takes five steps without changing the current architecture:
- Install and activate the plugin on the existing WordPress installation, then open its controls from the dashboard.
- Start File Security and Security Scan to record the application’s current state and surface security-relevant findings.
- Turn on the WAF, then confirm that normal WordPress requests start appearing in the security events.
- Check one recorded event to verify that its path, client source, and enforcement action match the request that produced it.
- Refine rate limits, custom rules, access controls, or trusted networks where specific application resources need narrower protection.
Inspect the Application State
Two scanning features, File Security and Security Scan, review plugins, themes, WordPress core, files, and security-relevant configuration, adding an application-level view to existing host monitoring. File Security checks the installation against its expected state and can flag new, custom, modified, or security-relevant files.
On a self-hosted server, administrators often edit themes, plugins, or other application code on purpose, so this file-level view is especially useful. When a finding needs investigation, the code on disk can be reviewed alongside package information and installed versions.
Add Code Context With Claude Code Security
Within File Security, Claude Code Security, included in the free plugin, analyzes security-relevant WordPress code tied to a finding or flagged file. It traces related code paths across files, assesses potential impact, explains security-sensitive behavior, and supplies supporting evidence to developers or administrators for review.
Its output adds code-level context but does not replace testing of the running application. Whether a code weakness can be exercised in production still depends on configuration, permissions, runtime state, and reachability.
Protect Incoming WordPress Requests
Inside WordPress, the standard WAF checks live HTTP requests against managed protections, IP controls, rate limits, custom policies, and other configured rules. Each resulting security event keeps the request’s context available for investigation and records how the active policy handled it.
Login pages, forms, REST APIs, and custom application paths have different traffic profiles, and these controls can be applied differently to each. The resulting evidence stays inside the application, and enforcement remains tied to the WordPress resource it protects.
Keep Request Evidence Close to the Application
While Apache, Nginx, or another front-end service can log incoming requests, application-level evidence shows why a request was flagged and the targeted WordPress path. Durabl.net security events can record the HTTP method, path, triggered WAF rule, attack classification, enforcement status, and source information for each request.
Where application context supports it, Durabl Intelligence links request evidence to the code, files, software, and vulnerabilities behind the targeted route. The underlying records remain available individually, so administrators can compare application findings with live traffic before concluding that a vulnerability was exploited.
Separate Responsibilities Across the Stack
Self-hosted deployments are easier to run when the WordPress security layer adds application context without blurring existing roles and each layer keeps a clear responsibility.
| Stack layer | Existing responsibility | What Durabl.net adds at the WordPress layer |
| Linux | Accounts, packages, services, and the operating system | WordPress-level evidence that complements host security controls |
| Web server and PHP | PHP execution and HTTP request handling | WAF checks on requests as they enter WordPress |
| Database | Database access and storage of WordPress data | Security context for the application that uses the stored data |
| WordPress | Plugins, themes, core, routes, and configuration | Request policy, code findings, file analysis, and vulnerability context |
| Reverse proxy | Proxy headers and request forwarding | Trusted-proxy settings for accurate client-IP attribution |
With these boundaries in place, WordPress-level security stays separate from host operations without losing investigative evidence.
Handle Real Client IPs Behind a Reverse Proxy
To implement rate limits and IP controls or attribute events and conduct investigations, a WordPress server needs the visitor’s real IP address. But with a load balancer, Nginx, or another proxy in front of the application, the server sees the proxy’s address instead. Durabl.net handles this through trusted-proxy controls and source-IP detection, with trusted infrastructure defined as CIDR ranges.
A forwarded client-IP header should be accepted only when the immediate sender is part of trusted proxy infrastructure. If that header is trusted from any source, a client connecting directly can supply a forged address and undermine decisions based on the source IP.
Once the trusted proxy ranges are configured, send an ordinary request through the proxy and check that the resulting security event shows the visitor’s address, not the proxy’s. It is also worth testing that a request from an untrusted source cannot override the detected client address with its own forwarded-IP header.
Based on operational needs, logging can cover broader traffic or security activity only, while storage and retention settings determine how long request evidence remains available.
| Setting | Operational purpose |
|---|---|
| Trusted proxies and CIDR ranges | Define the known proxy infrastructure used for source-IP detection |
| Traffic logging scope | Choose between broader traffic logging and security-only logging |
| Exclusions | Leave out selected IPs, users, system requests, or bots |
| Retention and storage limits | Set how much storage traffic data uses and how long it is kept |
These settings keep request context intact behind a proxy and give administrators direct control over the traffic records the security layer stores.
Apply Controls to Application-Specific Traffic
Different resources on a self-hosted installation see different traffic, so protection should be scoped to the requested path. For example, /wp-json/ may need a different rate policy from /wp-login.php, while a private administrative REST route may justify a source-network restriction if its intended use allows it.
Source networks and paths can both serve as conditions in a custom WAF policy, while a rate limit defines the protected resource, time window, request threshold, and enforcement action. Vulnerability matching adds context to these controls by checking known vulnerabilities against installed software, so administrators can identify affected components and then review their protection status, related file state, and outstanding remediation work.
Extend the Stack When Infrastructure Requirements Grow
The existing traffic path is unchanged in standard WordPress deployments. If requests later need filtering before they reach the server, Trafficmind Edge Protection, an optional paid service, can move DDoS and WAF enforcement upstream, and Trafficmind CDN, also optional and paid, can add a separate delivery layer managed through Durabl.net.
These WAF options differ in where enforcement happens: the standard plugin WAF enforces rules inside the application without altering routing, while Edge Protection changes the traffic path so unwanted requests are handled before reaching the WordPress origin.
Fit Application Security Into Existing Operations
The result is a stack where application controls sit close to WordPress, and the reverse proxy, web server, PHP runtime, database, and Linux host keep their established roles. Administrators manage those layers with their existing tools, while the plugin adds request, code, vulnerability, and file context for the application.
A successful setup shows three signs: the WAF records a test request with the correct client IP, the plugin reflects the expected application state, and the existing proxy, host, Nginx, and Apache logs keep providing their usual infrastructure view. Administrators then have WordPress-level enforcement and evidence without changing their infrastructure model.