Fail2ban
Protect servers from brute force attacks with Fail2Ban. Use when a user asks to block repeated failed login attempts, protect SSH, secure web servers from brute force, or ban malicious IPs automatically.
Install
npx skills add TerminalSkills/skills --skill fail2bangit clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/fail2ban ~/.claude/skills/fail2banPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Fail2Ban ## Overview Fail2Ban (1.1.1, August 2026, is the latest release) monitors log files or the systemd journal for failed authentication attempts and bans offending IPs through the firewall (nftables or iptables). Protects SSH, Nginx, Apache, Postfix, and any service with log-based authentication. ## Instructions ### Step 1: Install ```bash sudo apt install fail2ban sudo systemctl enable --now fail2ban sudo fail2ban-client -V # confirm version ``` On Debian and Ubuntu the distribution package ships an enabled `sshd` jail that reads the systemd journal (upstream `paths-debian.conf` sets `sshd_backend = systemd` and, since 1.1.1, `banaction = nftables`; check `fail2ban-client get sshd actions` on your host). Elsewhere the upstream default `banaction` is `iptables-multiport`, and `bantime`/`findtime` default to 10m with `maxretry = 5`. ### Step 2: Configure ```ini # /etc/fail2ban/jail.local — Custom configuration (never edit jail.conf) [DEFAULT] bantime = 1h findtime = 10m maxretry = 5 # match your firewall: nftables, or iptables-multiport on older hosts banaction = nftables # your own office or VPN address, so you cannot lock yourself out ignoreip = 127.0.0.1/8 ::1 203.0.113.10 [sshd] enabled = true port = ssh maxretry = 3 bantime = 24h [nginx-http-auth] enabled = true port = http,https maxretry = 5 [nginx-botsearch] enabled = true port = http,https maxretry = 2 bantime = 7d ```
Details
- Skill name
fail2ban- Repository
- TerminalSkills/skills
- Path
skills/fail2ban/SKILL.md- License
- Apache-2.0
- Repo updated
- 8 November 2026
FAQ
What does the Fail2ban skill do?
Protect servers from brute force attacks with Fail2Ban. Use when a user asks to block repeated failed login attempts, protect SSH, secure web servers from brute force, or ban malicious IPs automatically.
How do I install the Fail2ban skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add TerminalSkills/skills --skill fail2ban. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Fail2ban popular?
It lives in TerminalSkills/skills, which has 213 GitHub stars and 34 forks.
Related skills
3dsmax Rendering
213TerminalSkills/skills
Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.
3dsmax Scripting
213TerminalSkills/skills
Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.
3proxy
213TerminalSkills/skills
3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.
Flag Boundary Break
200lyndonkl/claude
For each simplified-boundary claim, drafts a one-paragraph suggestion for how to acknowledge the boundary inside the post — usually a single sentence or "but" clause — so the break becomes a teaching moment rather than hidden fragility. Runs for exactly the claims classified as simplified-boundary. Skip for all other classifications. Use after cross-reference-claim. Trigger keywords — boundary break, fold break into post, feature not flaw, simplified-boundary.
Echo Skill Inline
117Peiiii/skild
Second bundled skill (inline dependency) for kitchen-sink skillset.
Gdpr Compliance
213TerminalSkills/skills
Automate GDPR and privacy compliance for web applications. Use when someone asks to "make the app GDPR compliant", "add cookie consent", "handle data deletion requests", "audit PII", "data subject access request", or "privacy policy generator". Covers PII auditing, consent management, data subject request endpoints, retention policies, and privacy policy generation.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.