🛡️ Raspberry Pi Security Hardening
Parent: #1
Current State
- Password-based SSH authentication
- No firewall configured
- No brute-force protection
- Default user
enviropi with known password
Tasks
UFW Rules
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw enable
fail2ban Config
[sshd]
enabled = true
port = ssh
filter = sshd
maxretry = 5
bantime = 3600
Ref: #1 Roadmap — Security & Infrastructure