How to Log IPTABLES Dropped Packets to Syslog
Simply, I want to have IPTABLES log whenever it drops a packet. To log all dropped incoming packets, add these entries to the bottom of your IPTABLES rules: iptables -N LOGGING iptables -A INPUT -j LOGGING iptables -A LOGGING -m limit –limit 2/min -j LOG –log-prefix “IPTables-Dropped: ” –log-level 4… Continue reading