All tools
Defensive / Blue
Fail2ban
Bans IPs that show malicious signs (e.g., too many SSH failures).
beginner
Linux
Defense
Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.
When
Hardening internet-facing lab services against noisy scans.
How
Enable jails for sshd/http; tune thresholds; monitor bans.
Why
Practical host defense you can deploy today.
Commands & usage
sudo systemctl enable --now fail2ban
sudo fail2ban-client status sshd
Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.
Tags
hardening
ssh
blue