this post was submitted on 09 Oct 2025
16 points (90.0% liked)

Selfhosted

60742 readers
158 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
16
submitted 9 months ago* (last edited 9 months ago) by Zenlix@lemmy.ml to c/selfhosted@lemmy.world
 

I am searching for a firewall for my self hosted services. It should be conpatible with docker, podman and native running services. I should block clients with to many fauled authentication attempts. It should also support blocklists and be as easy to configure as possible (and foss ofc). I took a short look at fail2ban, but the github docs are just lacking so much information that I was looking for (like how to configure it). CrowdSec lookes not foss enough for me.

Any recommendations? Maybe some fail2ban guide?

you are viewing a single comment's thread
view the rest of the comments
[–] anamethatisnt@sopuli.xyz 3 points 9 months ago* (last edited 9 months ago)

Isnt opnsense only for bsd? I am running linux.

opnsense is bsd based yes, you can either run it on it's own hardware in front of your server or you can run it as a virtual machine and passthrough your hosts network ports to it for WAN/LAN.