All tools

Home Network & IoT

Fail2ban (home SSH/web)

Bans abusive IPs hitting SSH/web services on self-hosted home servers.

beginner
Linux
Defense

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

You expose any self-hosted service (even via reverse proxy).

How

Enable jails for sshd/nginx; tune findtime/maxretry; monitor bans.

Why

Stops credential noise from becoming a successful brute force.

Commands & usage

sudo apt install fail2ban
sudo systemctl enable --now fail2ban
sudo fail2ban-client status sshd

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

home-network
hardening
ssh
defense

Related in Home Network & IoT