fail2ban-setup
CommunityBlock brute-force attacks on your VPS.
Authormikr13
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fail2ban protects VPS servers from brute-force login attempts by automatically banning IPs that show repeated failed authentication, reducing attack surface and log noise.
Core Features & Use Cases
- Install and configure Fail2ban on Linux servers (Ubuntu/Debian/RHEL-based) to protect SSH, web services, and other login-enabled services.
- Create and tune jail configurations (e.g., sshd) with bantime, findtime, and maxretry to automatically ban suspicious IPs; monitor and manage banned IPs.
- Integrate with iptables/UFW firewalls and provide maintenance commands to verify status and unban IPs.
- Use case: Secure a new VPS by automatically blocking brute-force attempts while maintaining normal access for legitimate users.
Quick Start
Install Fail2ban on your VPS and enable a basic SSH jail to start blocking brute-force attempts.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fail2ban-setup Download link: https://github.com/mikr13/secure-server-setup-skills/archive/main.zip#fail2ban-setup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.