[artix-general] fail2ban

Xavier B. somenxavier at posteo.net
Sun Jul 23 19:15:39 CEST 2023


Hi,

I installed fail2ban and fail2ban-openrc packages. Following arch wiki [https://wiki.archlinux.org/title/Fail2ban], I created a file /etc/fail2ban/jail.local with the content:

# cat /etc/fail2ban/jail.local
[DEFAULT]
bantime = 200d
banaction = nftables
banaction_allports = nftables[type=allports]

[nginx-botsearch]
enable=true

[nginx-bad-request]
enable=true

and restart fail2ban daemon. But fail2ban has no rules loaded:

# fail2ban-client status
Status
|- Number of jail:      0
`- Jail list:

Why?

Anyone could help me?


More information about the artix-general mailing list