Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    Is there a way to display it so that I can see which packets were allowed and which were dropped?
    – Petr
    Commented Jun 9, 2015 at 11:42
  • 3
    @Petr you can log the packets which iptables dropped, thegeekstuff.com/2012/08/iptables-log-packets Commented Jun 9, 2015 at 12:07
  • So is there a way that I can drop packets even before tcpdump can see them? Commented Feb 15, 2022 at 22:51
  • @4253wyerg4e And why do you want to drop them even before seeing them? Commented Feb 17, 2022 at 6:31