Skip to content

Instantly share code, notes, and snippets.

View doches's full-sized avatar
🍸
Probably asleep

Trevor Fountain doches

🍸
Probably asleep
View GitHub Profile
#!/bin/bash
set -euxo pipefail
dnf install -y fail2ban
systemctl enable fail2ban
cat > /etc/fail2ban/jail.local<< EOF
[DEFAULT]
# Ban hosts for one hour: