Add in a WAF (Web Application Firewall)
What problem will this feature address?
Cloud systems often have web application firewalls to handle first line defense to catch initial attempts to break into the app. Adding this in will make the Dokploy solution more robust and stand it out from competing solutions.
Describe the solution you'd like
I would like to see an interface that would allow the WAF to be enabled and apply some simple security exploit prevention to start. We could potentially utilize a Traefik plugin to allow for this.
Describe alternatives you've considered
Work arounds would be to use cloudflare however adding in a layered security approach would make the Dokploy solution more robust.
Additional context
I could work on this however we should have some general alignment on the proposed solution before proceeding.
Will you send a PR to implement it?
No
I will submit a PR on this in a few weeks.
Are you still working on this? It would be a very useful feature
I think this should be configured at your web-hosting platform (Hetzner, AWS, Digital Ocean have firewall option). Cloudlfare also have firewall option and can be used as first-line defense.
It doesn't make sense to make firewall option in Dokploy because it'll just make things harder to maintain
I think this should be configured at your web-hosting platform (Hetzner, AWS, Digital Ocean have firewall option). Cloudlfare also have firewall option and can be used as first-line defense.
It doesn't make sense to make firewall option in Dokploy because it'll just make things harder to maintain
WAF != firewall.
I have had no time to work on this. The idea was to use the plugin with traefik to implement this. It would only be complex to maintain if you had a ton of specific rules. I was thinking that I could make a wizard that you can set the base WAF settings and then app specific settings if you so choose. The WAF would have a significant performance hit however.
On Wed, Sep 3, 2025 at 12:30 PM Auri @.***> wrote:
imlayered left a comment (Dokploy/dokploy#1547) https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3250318224
Are you still working on this? It would be a very useful feature
— Reply to this email directly, view it on GitHub https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3250318224, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV3TIO6N5VE6HDLRRPBUJ33Q4XV7AVCNFSM6AAAAABZSHS3ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENJQGMYTQMRSGQ . You are receiving this because you authored the thread.Message ID: @.***>
Why not providing an easy way to implement crowdsec with traefik bouncer plugin? This would be a great minimum-effort kind of solution. The problem I identified is that it's not reliable to install middlewares on application-level as app ids can change. If defining traefik middlewares was easier, this could be a great solution for a robust WAF.
Traefik has a native WAF in the paid version. I was experimenting with the Coraza (WASM Plugin) and it will work but it definitely adds significant CPU cycles because it runs via WASM. Regardless I ran out of time to make more headway on it. I had envisioned a solution that would obfuscate the configuration of the WAF at a global and app level so you could just use a few clicks to be protected. In the mean time using a WAF on Cloudflare is a great way to offload this functionality.
On Mon, Dec 22, 2025 at 5:15 AM Luis @.***> wrote:
lwndp left a comment (Dokploy/dokploy#1547) https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3681840285
Why not providing an easy way to implement crowdsec with traefik bouncer plugin? This would be a great minimum-effort kind of solution. The problem I identified is that it's not reliable to install middlewares on application-level as app ids can change. If defining traefik middlewares was easier, this could be a great solution for a robust WAF.
— Reply to this email directly, view it on GitHub https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3681840285, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV3TINMUPDJA2PSN7RCXV34C7OEJAVCNFSM6AAAAABZSHS3ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOBRHA2DAMRYGU . You are receiving this because you authored the thread.Message ID: @.***>
Also I forgot to mention Caddy has a native solution that is good as well, I think someone mentioned adding support for Caddy but it would significantly complicate the project. It might be something that is looks at down the road.
On Mon, Dec 22, 2025 at 12:26 PM Jason Parks @.***> wrote:
Traefik has a native WAF in the paid version. I was experimenting with the Coraza (WASM Plugin) and it will work but it definitely adds significant CPU cycles because it runs via WASM. Regardless I ran out of time to make more headway on it. I had envisioned a solution that would obfuscate the configuration of the WAF at a global and app level so you could just use a few clicks to be protected. In the mean time using a WAF on Cloudflare is a great way to offload this functionality.
On Mon, Dec 22, 2025 at 5:15 AM Luis @.***> wrote:
lwndp left a comment (Dokploy/dokploy#1547) https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3681840285
Why not providing an easy way to implement crowdsec with traefik bouncer plugin? This would be a great minimum-effort kind of solution. The problem I identified is that it's not reliable to install middlewares on application-level as app ids can change. If defining traefik middlewares was easier, this could be a great solution for a robust WAF.
— Reply to this email directly, view it on GitHub https://github.com/Dokploy/dokploy/issues/1547#issuecomment-3681840285, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV3TINMUPDJA2PSN7RCXV34C7OEJAVCNFSM6AAAAABZSHS3ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMOBRHA2DAMRYGU . You are receiving this because you authored the thread.Message ID: @.***>
@divaltor
I think this should be configured at your web-hosting platform (Hetzner, AWS, Digital Ocean have firewall option). Cloudlfare also have firewall option and can be used as first-line defense.
It doesn't make sense to make firewall option in Dokploy because it'll just make things harder to maintain
How would you configure it in Cloudflare? I'm interested, thank you!
I believe that Cloudflare's Free tier does NOT include a WAF firewall, right?
https://developers.cloudflare.com/waf/get-started/#5-review-traffic-in-security-dashboards