Might be worth looking into layering in CrowdSec for some more advanced security (WAF/IDS/IPS ‘sidecar’ that goes a bit beyond fail2ban). Same concept as Fail2Ban: watches service logs, and if something sketchy pops up it applies a temp IP block. You can also opt to share/use heuristics gleened from other users running the service.
Doesn’t sound like it’s necessarily a concern given your threat modeling, but surprisingly straight forward to implement and as a netsec nerd it was a fun weekend project. I just finished applying the WAF module and was able to get my cellular IP blocked for 4 hours by trying to load “https://home.page/.env” (as a test).
Might be worth looking into layering in CrowdSec for some more advanced security (WAF/IDS/IPS ‘sidecar’ that goes a bit beyond fail2ban). Same concept as Fail2Ban: watches service logs, and if something sketchy pops up it applies a temp IP block. You can also opt to share/use heuristics gleened from other users running the service.
Doesn’t sound like it’s necessarily a concern given your threat modeling, but surprisingly straight forward to implement and as a netsec nerd it was a fun weekend project. I just finished applying the WAF module and was able to get my cellular IP blocked for 4 hours by trying to load “https://home.page/.env” (as a test).
Here’s the nginx doc: https://www.crowdsec.net/blog/crowdsec-with-nginx-proxy-manager
Note: I’m running Traefik; not sure if the nginx setup is more or less involved.