I personally use nginx-ultimate-bad-bot-blocker but also custom IP ranges (the entirety of Israel plus GAFAM), and fail2ban.

I saw a dramatic drop in scraper-related traffic, although I still have some offenders trying to access (and failing in doing so).

Which solution do you use?

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 hours ago

    Can you elaborate on the setup? Is the reverse proxy blocking anything but preconfigured subdomains? Or some cert auth scheme?

    • confusedpuppy@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 hours ago

      My ISP supplied modem/router doesn’t have a DMZ so I just port forward my reverse proxy port and WireGuard port.

      Then I use Caddy to handle a single wildcard domain cert. Caddy then redirects sub-domains to their respective localhost port number.

      My firewall redirects WireGuard connections to my SSH port.

      I don’t block anything. I only host static pages so I don’t use any authentication. If I hosted services then I would probably use some sort of authentication. Other than that, it’s really simple.

      In the past nearly 2 years I’ve been doing this I have had no one attempt to connect but myself. It’s nice having quiet and easy to parse logs.