Remova todas as regras iptables
sudo iptables -F
Friendly Hawk
sudo iptables -F
# flag -D for delete
sudo iptables -D INPUT -i eth0 -p tcp --dport 22 -j ACCEPT