I have been running crowdsec on my OpenWRT firewall for a bit now, I am just curious as to what others think about it?

Thank you @irmadlad the webui you suggested is showing the logs a lot better than my vibe coded HA plug ins (both my ssh honey pot and my plug in showed nothing) looking over the logs shows so much activity that is happening.

all 24 comments

sorted by: hot top controversial new old
[–] 33 points 3 months ago (6 children)

When I ran Crowdsec, I thought it was a great piece of software, and a very decent free tier. I didn't have any real complaints other that there was not a way, at the time that I knew of, to have the UI selfhosted. I think now someone has created a selfhostable user front end to it, but I haven't dabbled in that.

Here we go: https://corelab.tech/crowdsec-web-ui-setup-guide/

I think this gent posted this a week or so ago.

  • source
  • hideshow 6 child comments
  • [–] [S] 5 points 3 months ago* (last edited 3 months ago) (3 children)

    I am using HA

    Edit: after looking at what you posted I thought I would check it out, and it is a lot better than the HA thing I vibe coded into home assistant.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 3 months ago (2 children)

    Ooops! Well at least the link was helpful to ZebraGoose

  • source
  • parent
  • hideshow 2 child comments
  • [–] 18 points 3 months ago (2 children)

    i run it on opnsense. When my services were on individual subdomains each with their own certificate, they got hit a lot and crowdsec blocked lots of bots and scripts

    I ultimately moved all my services to a wildcard sub-subdomain, and poof all the bots went away and now crowdsec doesn't do much other than block port scanners which the firewall does anyway.

    it's not worth the hassle to uninstall though.

  • source
  • hideshow 2 child comments
  • [–] 5 points 3 months ago (1 child)

    I also haven't seen any bot activity after I started using wildcard sub domains. My ISP blocks all incoming on common ports so I also use uncommon ports. I assume the combination of the two makes it too time consuming to find me.

    I hid my ssh port with a wireguard connection so I also don't see any attempts on my ssh port anymore either. My logs, including fail2ban, are quiet and boring.

    It's nice to have a quiet corner of the internet for myself.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago

    My logs, including fail2ban, are quiet and boring.

    Every once in a while, I'll tail my f2b logs, almost half heartily hoping I find an anomaly. But, no...it's a snoozefest. pFsense out there on the edge, just doing it's job.

  • source
  • parent
  • [–] 9 points 3 months ago

    It's great! I use it on both my home server and my Hetzner server. It blocks connections based on behaviors defined by scenarios. I configured it to block any connections it decides to block via the firewall.

    So far, so good. I don't even know it's running. It just does its job of blocking bots.

  • source
  • [–] 3 points 3 months ago (3 children)

    I had it running in front of my Matrix server. With the default configuration it gave a lot of false positives, leaving friends out of the server. Also, most of my users use VPNs regularly, so geo-blocking was a hassle too. I tuned it a bit, but kept giving me headaches, so I ended up disabling it. I’ll spend more time tuning it someday.

  • source
  • hideshow 3 child comments
  • [–] 1 point 3 months ago (1 child)

    I'm using it. It's good. Even without the cloud services the bouncer and scenarios are more powerful than fail2ban.

    Shame about no self hosted web ui but someone posted here a project I'm ought to look up oncw I arrive home.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 months ago

    Yes the self hosted webui is awesome, I get to see that I am getting the warm embrace from China for the most part. I still use my vibe coded thing for my quick monitor on an old ipad in my kitchen but if I want to see it in more detail I use the webui.

  • source
  • parent
  • [–] [B] 1 point 3 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    ISP Internet Service Provider
    SSH Secure Shell for remote terminal access
    TLS Transport Layer Security, supersedes SSL
    VPN Virtual Private Network

    [Thread #55 for this comm, first seen 15th Jul 2026, 22:40] [FAQ] [Full list] [Contact] [Source code]

  • source
  • [–] 0 points 3 months ago (5 children)

    I believe it is a good start with crowdsec but feels like it gives false protection. The blocking only happens after they have done a couple of attempts and not before.

  • source
  • hideshow 5 child comments
  • [–] 3 points 3 months ago (3 children)

    How would it, or any software for that matter determine a given request is malicious before it does something malicious?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 3 months ago

    Crowdsec does it by using crowd-sourced blocklists (hence the name). So if an IP triggers a scenario on other machines, that malicious address will be proactively added to your blocklist before it ever gets a chance to impact your machine.

    That is the big advantage of crowdsec over reactive-only solutions, like fail2ban.

  • source
  • parent
  • [–] 0 points 3 months ago*

    Yes, that is the hard part. But it can be done. Geoip blocking like only allow your country - blocking every China or Russian user etc. If you are selfhosting at home and worry about your SSH access, then you can do a lot of things to block then early. It is all about authentication. Lets say you require VPN access in - example Wireguard. You could require access only through somebody else, like Cloud flare tunnel. You could also do "port knocking" but that is not encrypted. You could require the user first has to be authenticated somewhere else, like require first Microsoft login and only then your ip is allowed.

  • source
  • parent
  • [–] [S] 1 point 3 months ago

    My first baby step into self hosting (years before I realized self hosting was the answer) was pihole. I realized it got most of the ads and I was happy with that, years went by and I realized more ads were getting through, so I learnt about fine tuning my ad list and regex lists. A little while went by and I heard that the google was selling .zip tlds so I learnt a little more about regex, not because I was worried I would unleash something on my LAN but just incase someone else did.

    Layers there are layers of things I needed to do to prevent the ads, and than layers of things I needed to do to prevent spam. So I knew there was going to be layers of things I would need to do to protect myself when I got a “real” home lab on the Wild Wild WAN. Home Labbing is like sex, sure it is fun but it can be dangerous if you do not protect yourself and there are layers of protection you should use.

  • source
  • parent