Allow X Packets per second with same data length - IPTables

by gamer-cs   Last Updated September 13, 2017 14:02 PM

I need help, I need a rule to do this:

If more then X packets received in second with same data length so drop them all.

How can i achieve this using IPTables in Ubuntu?

Thanks.

Tags : iptables


Answers 1


Looks like you need to follow this guide:

  1. sudo iptables -A OUTPUT -j REJECT
  2. sudo iptables -A OUTPUT -m limit --limit X/s -j ACCEPT
M. Dm.
M. Dm.
September 13, 2017 13:55 PM

Related Questions



'iptables -S' to be accessed by www-data

Updated April 09, 2015 02:00 AM



ElasticSearch ports in Iptables

Updated January 20, 2016 13:01 PM