#find line number of rule $ sudo iptables -L INPUT --line-numbers ## delete rule by number $ sudo iptables -D INPUT 1 . . .