Useful iptables commands
Show iptables with line numbers
-n – Numeric output. IP addresses and port numbers will be printed in numeric format.
-L – List all rules in the selected chain. If no chain is selected, all chains are listed.
Insert (add) rule in the specific place in iptables as it works descending
The number 9 means the rule is inserted at position 9 in the chain.