How do I see dropped packets in iptables?

Thành Đạt

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

Tìm kiếm

Back
Top