First page Back Continue Last page Overview Graphics
Actions
-A – append – adds rule at end of chain. This may not always be the best place for the rule – rules are evaluated in sequence
-I – insert – requires a parameter to tell iptables which rule to insert it as, e.g., iptables -I INPUT 3 match -j target tells iptables to make this rule the third rule in the INPUT chain of the filter table
iptables -I OUTPUT 1 match -j target makes this the first rule in the filter table OUTPUT chain
Notes: