Delete chain rule

iptables

  • Program that allows configuration of tables, chains and rules provided by the Linux kernel firewall.
    More information: <https://www.netfilter.org/projects/iptables/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo iptables -D {{chain}} {{rule_line_number}}

click the source code to copy install iptables on any operating system with command-not-found.com