We 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