this post was submitted on 28 Nov 2025
619 points (94.5% liked)

Selfhosted

55304 readers
725 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I got into the self-hosting scene this year when I wanted to start up my own website run on old recycled thinkpad. A lot of time was spent learning about ufw, reverse proxies, header security hardening, fail2ban.

Despite all that I still had a problem with bots knocking on my ports spamming my logs. I tried some hackery getting fail2ban to read caddy logs but that didnt work for me. I nearly considered giving up and going with cloudflare like half the internet does. But my stubbornness for open source self hosting and the recent cloudflare outages this year have encouraged trying alternatives.

Coinciding with that has been an increase in exposure to seeing this thing in the places I frequent like codeberg. This is Anubis, a proxy type firewall that forces the browser client to do a proof-of-work security check and some other nice clever things to stop bots from knocking. I got interested and started thinking about beefing up security.

I'm here to tell you to try it if you have a public facing site and want to break away from cloudflare It was VERY easy to install and configure with caddyfile on a debian distro with systemctl. In an hour its filtered multiple bots and so far it seems the knocks have slowed down.

https://anubis.techaro.lol/

My botspam woes have seemingly been seriously mitigated if not completely eradicated. I'm very happy with tonights little security upgrade project that took no more than an hour of my time to install and read through documentation. Current chain is caddy reverse proxy -> points to Anubis -> points to services

Good place to start for install is here

https://anubis.techaro.lol/docs/admin/native-install/

(page 2) 50 comments
sorted by: hot top controversial new old
[–] Deathray5@lemmynsfw.com 7 points 2 months ago (1 children)

Unrelated but one day I won't get gender envy from random cartoon woman

load more comments (1 replies)
[–] tux0r@feddit.org 4 points 2 months ago

I use it with OpenBSD’s relayd and I find it amazing how little maintenance it needs.

[–] quick_snail@feddit.nl 3 points 2 months ago (1 children)

getting fail2ban to read caddy logs

You should look into wazuh

[–] victorz@lemmy.world 5 points 2 months ago (1 children)

Seems like they already have a working solution now.

[–] quick_snail@feddit.nl 5 points 2 months ago* (last edited 2 months ago) (1 children)

sure, but they have to maintain it.

Wazuh ships with rules that are maintained by wazuh. Less code rot.

load more comments (1 replies)
[–] krooklochurm@lemmy.ca 3 points 2 months ago

"Anubis has risen, Wendell"

"Are you Jane's addiction"?

[–] turdas@suppo.fi 3 points 2 months ago* (last edited 2 months ago)

Inspired by this post I spent a couple of hours today trying to set this up on my toy server, only to immediately run into what seems to be a bug where <video> tags loading a simple WebM video from right next to index.html broke because the media response got Anubis's HTML bot check instead of media.

I suppose my use-case was just too complicated.

[–] Appoxo@lemmy.dbzer0.com 3 points 2 months ago (4 children)

Maybe you know the answer to my question:
If I'd want to use any app that doesnt run in a webbrowser (e.g. the native jellyfin app), how would that work? Does it still work then?

load more comments (4 replies)
[–] orbituary@lemmy.dbzer0.com 3 points 2 months ago (3 children)

It's a great service. I hate the character.

[–] CoyoteFacts@piefed.ca 6 points 2 months ago (1 children)
load more comments (2 replies)
load more comments
view more: ‹ prev next ›