sudo iptables -L INPUT --line-numbers
Chain INPUT (policy DROP)
num target prot opt source destination
1 fail2ban-apache-php tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443
....
13 fail2ban-couriersmtp tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,587
14 GEOIP_REJECT all -- 0.0.0.0/0 0.0.0.0/0
15 ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0
...
20 ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0
geoip;
avant ufw, cela fonctionne. c'est clair.
après ufw, je me rappelle plus si GEOIP_REJECT matche encore. Tu le verras bien en mode verbose.