
If the packet does not match, the next rule in the chain is the examined if it does match, May be a jump to a user-defined chain in the same table.Ī firewall rule specifies criteria for a packet, and a target.

Each rule specifies what to do with a packet that matches. Several different tables may be defined.Įach table contains a number of built-in chains and may also contain user-defined chains.Įach chain is a list of rules which can match a set of packets. Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Iptables -E old-chain-name new-chain-name

Iptables -R chain rulenum rule-specification
