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

Selfhosted

53228 readers
1996 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.

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.

collapsed inline media

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/

you are viewing a single comment's thread
view the rest of the comments
[–] quick_snail@feddit.nl 23 points 22 hours ago (2 children)

Kinda sucks how it makes websites inaccessible to folks who have to disable JavaScript for security.

[–] poVoq@slrpnk.net 23 points 21 hours ago (2 children)

I kinda sucks how AI scrapers make websites inaccessible to everyone 🙄

[–] Mwa@thelemmy.club 4 points 15 hours ago

and they dont respect robots.txt

[–] quick_snail@feddit.nl -5 points 19 hours ago (1 children)

Not if the admin has a cache. It's not a difficult problem for most websites

[–] poVoq@slrpnk.net 7 points 18 hours ago (1 children)

You clearly don't know what you are talking about.

[–] quick_snail@feddit.nl -4 points 18 hours ago* (last edited 18 hours ago) (1 children)

Lol I'm the sysadmin for many sites that doesn't have these issues, so obviously I do..

It you're the one that thinks you need this trash pow fronting for a static site, then clearly you're the one who is ignorant

[–] poVoq@slrpnk.net 9 points 18 hours ago

Obviously I don't think you need Anubis for a static site. And if that is what your admin experience is limited too, than you have a strong case of dunning krueger.

[–] WhyJiffie@sh.itjust.works 12 points 19 hours ago (1 children)

there's a fork that has non-js checks. I don't remember the name but maybe that's what should be made more known

[–] quick_snail@feddit.nl 2 points 17 hours ago (2 children)

Please share if you know.

The only way I know how to do this is running a Tor Onion Service, since the tor protocol has built-in pow support (without js)

[–] WhyJiffie@sh.itjust.works 7 points 16 hours ago* (last edited 16 hours ago)

It's this one: https://git.gammaspectra.live/git/go-away

the project name is a bit unfortunate to show for users, maybe change that if you will use it.

some known privacy services use it too, including the invidious at nadeko.net, so you can check there how it works. It's one of the most popular inv servers so I guess it cannot be bad, and they use multiple kinds of checks for each visitor

[–] WhyJiffie@sh.itjust.works 4 points 16 hours ago

ps: I was wrong it's not a fork, but a different thing doing the same and more