Now let’s say you block the wrong IP address or you need to take one off for some reason. In order for the change to be permanent you then have to save the updated rules to the config file. Replace xx.xx.xx.xx with the IP address:
iptables -D INPUT -s xx.xxx.xx.xx -j DROP
service iptables save