Add host firewalling and rate limiting with nftables and Fail2ban #76

Closed
opened 2026-11-21 21:56:55 +01:00 by parkel · 0 comments
Owner

Goal

Provide opt-in protection for a standalone Coulobre host or an individual mail, DNS or web node. Use distribution-packaged nftables for firewall rules and network rate limits, and Fail2ban for temporary blocks after repeated authentication failures.

Core scope

  • Integrate the Ubuntu and Debian packages. Define which rules Coulobre owns and how they survive package upgrades.
  • Define service profiles for public hosts, LAN-only panels and trusted reverse proxies. Cover IPv4 and IPv6, allowed ports, per-service rate limits, and temporary blocks after repeated authentication failures.
  • Include an operator allowlist, preview and scoped rollback, visible rule and ban status, and an audited unblock action. Verify that changing policy preserves existing administrator connectivity and rules owned by other services.
  • Check how a proxy-aware application identifies callers and where an application-level limit is needed alongside packet or connection limits.

The original ConfigServer distribution stopped operating in 2025. WebPros maintains a CSF fork for critical security and stability updates. cPanel maintenance announcement, nftables meters, Fail2ban.

## Goal Provide opt-in protection for a standalone Coulobre host or an individual mail, DNS or web node. Use distribution-packaged nftables for firewall rules and network rate limits, and Fail2ban for temporary blocks after repeated authentication failures. ## Core scope - Integrate the Ubuntu and Debian packages. Define which rules Coulobre owns and how they survive package upgrades. - Define service profiles for public hosts, LAN-only panels and trusted reverse proxies. Cover IPv4 and IPv6, allowed ports, per-service rate limits, and temporary blocks after repeated authentication failures. - Include an operator allowlist, preview and scoped rollback, visible rule and ban status, and an audited unblock action. Verify that changing policy preserves existing administrator connectivity and rules owned by other services. - Check how a proxy-aware application identifies callers and where an application-level limit is needed alongside packet or connection limits. The original ConfigServer distribution stopped operating in 2025. WebPros maintains a CSF fork for critical security and stability updates. [cPanel maintenance announcement](https://support.cpanel.net/hc/en-us/articles/37654028162071-cPanel-will-provide-its-own-fork-of-CSF-starting-Feb-25th-2026), [nftables meters](https://wiki.nftables.org/wiki-nftables/index.php/Meters), [Fail2ban](https://github.com/fail2ban/fail2ban).
parkel added this to the v0.5.0 - Operator workflows and deployment milestone 2026-11-21 21:56:55 +01:00
parkel added the
kind
feature
area/hostingarea/deployment
labels 2026-11-21 21:56:55 +01:00
parkel changed title from Evaluate host firewalling and rate limiting to Add host firewalling and rate limiting with nftables and Fail2ban 2026-11-21 22:05:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#76