I can't figure out why this is in iptables: DROP all -- localhost/8 anywhere and when I try to remove it, I get: server:~# iptables -D INPUT -s localhost/8 -j DROP iptables: Bad rule (does a matching rule exist in that chain?) Server is working ok, as far as I can tell.
List the chain and then remove it: Code: iptables -L INPUT -n --line-numbers Code: iptables -D INPUT x where x is the number for the rule. Cheers