• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iptables-translate -A INPUT -m limit --limit 3/m --limit-burst 3
2nft add rule ip filter INPUT limit rate 3/minute burst 3 packets counter
3
4iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 5
5nft add rule ip filter INPUT limit rate 10/second burst 5 packets counter
6
7iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 0
8nft add rule ip filter INPUT limit rate 10/second counter
9