Salta al contenuto principale

CentOS 7 - Networking Support • how to see the log of dropped packets from iptables

Hello. I am not sure if this is possible. I apply "iptables -I INPUT -s a.b.c.d -j DROP" rules for many IP to block attackers. The Centos server is doing fine. I am curios if I can see the log of the firewall when it applies the rule. Like it tells me the IP a.b.c.d try to scan and sign in with a wrong password, and the firewall drops the packet.
Thank you. Let me know if you need more information.


Statistics: Posted by aaaa2209 — 2023/09/03 01:41:52