mailinabox/conf/fail2ban/jail.d/geoipblock.conf

18 lines
310 B
Plaintext
Raw Normal View History

2021-04-11 10:14:41 +00:00
[geoipblocknginx]
enabled = true
port = http,https
filter = nginx-geoipblock
logpath = /var/log/nginx/geoipblock.log
maxretry = 1
findtime = 120m
bantime = 15m
[geoipblockssh]
enabled = true
port = ssh
filter = ssh-geoipblock
logpath = /var/log/syslog
maxretry = 1
findtime = 120m
bantime = 15m