Bleh, gotchu, I was getting the bit boundary wrong (192.168.0.0/24 > 192.168.0.0/23; NOT 192.168.1.0. that’s not how bits work)
- 0 Posts
- 4 Comments
Joined 2 years ago
Cake day: December 6th, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Thanks I hate it.
What am I missing here?
192.168.1.1/24 would also be a valid gateway for a /23, with the benefit of not having a gateway in the middle of your /23 network?
I feel like this example is a greater justification for putting the gateway on the network/CIDR + 1, like a civilized person.


Might be worth looking into layering in CrowdSec for some more advanced security (WAF/IDS/IPS ‘sidecar’ that goes a bit beyond fail2ban). Same concept as Fail2Ban: watches service logs, and if something sketchy pops up it applies a temp IP block. You can also opt to share/use heuristics gleened from other users running the service.
Doesn’t sound like it’s necessarily a concern given your threat modeling, but surprisingly straight forward to implement and as a netsec nerd it was a fun weekend project. I just finished applying the WAF module and was able to get my cellular IP blocked for 4 hours by trying to load “https://home.page/.env” (as a test).
Here’s the nginx doc: https://www.crowdsec.net/blog/crowdsec-with-nginx-proxy-manager
Note: I’m running Traefik; not sure if the nginx setup is more or less involved.