How do I see dropped packets in iptables?
Answer
Log All Dropped Input Packets
Answer
Log All Dropped Input Packets
- iptables -N LOGGING: Create a new chain called LOGGING.
- iptables -A INPUT -j LOGGING: All the remaining incoming packets will jump to the LOGGING chain.
- line#3: Log the incoming packets to syslog (/var/log/messages).