Fail2Ban이 iptables에 IP를 보내지 않습니다.

Fail2Ban이 iptables에 IP를 보내지 않습니다.

Fail2Ban이 제대로 작동하는 것 같습니다.

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

하지만 iptables에서는 차단된 IP가 표시되지 않습니다.

IP테이블:

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

관련 정보