forked from pimoroni/enviroplus-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
🛡️ Raspberry Pi Security Hardening
Parent: #1
Current State
- Password-based SSH authentication
- No firewall configured
- No brute-force protection
- Default user
enviropiwith known password
Tasks
- Enable UFW firewall (allow SSH 22, deny all inbound)
- Install and configure fail2ban for SSH
- Generate SSH key pair and disable password auth
- Change default user password
- Disable root SSH login
- Set up automatic security updates (
unattended-upgrades) - Configure logwatch for daily security summaries
- Restrict GPIO/serial access to service user only
UFW Rules
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw enablefail2ban Config
[sshd]
enabled = true
port = ssh
filter = sshd
maxretry = 5
bantime = 3600Ref: #1 Roadmap — Security & Infrastructure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels