From 6d53e7b641a7788698f7b65a1219997213bcd587 Mon Sep 17 00:00:00 2001 From: Karsten Date: Tue, 24 Nov 2015 09:52:48 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a026bd0..8bfeedd 100644 --- a/README.md +++ b/README.md @@ -45,3 +45,9 @@ Call the script each hour to fetch the last IP list for SSH ``` tail -f /var/log/auth.log /var/log/fail2ban.log ``` + +## Check Banned IP's Linux +Use the grep command as follows to verify that an IP address 1.2.3.4 is blocked or not: +``` +iptables -L INPUT -v -n | grep "1.2.3.4" +```