Delete a single iptables rule

This will list all of your rules, plus their chain name and number: iptables -vnL --line-numbers Example: 10 14 898 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:139 11 54 3200 ACCEPT tcp -- * * 0.0.0.0/0 0.