gemlog/public/en/fix-fail2ban-service-launch-on-debian-12.gmi
2025-09-11 12:43:12 +03:00

20 lines
No EOL
303 B
Text

# Fix fail2ban service launch on Debian 12
1. Add following lines into the jail configuration
``` /etc/fail2ban/jail.local
[DEFAULT]
backend = systemd
```
2. Make sure python3-systemd was installed
``` bash
apt install python3-systemd
```
3. Restart service
``` bash
systemctl restart fail2ban
```