Fail2Ban seems to be working fine
Status for the jail: nginx-php
|- Filter
| |- Currently failed: 1
| |- Total failed: 22
| `- File list: /var/log/nginx/access.log
`- Actions
|- Currently banned: 1
|- Total banned: 1
`- Banned IP list: 46.32.125.42
But on iptables it doesnt show the ip being blocked
Iptables:
root@box-01:~# iptables -L INPUT -v -n
Chain INPUT (policy ACCEPT 1501 packets, 415K bytes)
pkts bytes target prot opt in out source destination
328 40327 f2b-nginx-php tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443
0 Answers