This blog site is not meant to be any information that is distributed to the general public. It is to serve as shared documentation between the DNSTC developers; however, if you find something useful and would like to use it, go right ahead.

Friday, December 14, 2012

IP Tables–and removing blocked IP

firewall-antivirusWe have been doing a lot of work lately with the firewall and IPtables.  I came across this blog site that is very handy when it comes to easily explaining Linux command line commands.  This site was extremely useful for removing IP addresses that got blocked do to people forgetting their passwords and trying to log in too many times. 

Here are some of the commands:

List IP’s that are being blocked with the line numbers:

iptables -L INPUT -n --line-numbers



Once you have the line number you can delete the entry

iptables -D INPUT 10



Saving the iptables listing

service iptables save



For the complete blog page and other great Linux stuff, visit: 
http://www.cyberciti.biz/faq/iptables-delete-ip-address-subnet-from-linux-firewall/

No comments:

Post a Comment