IPTABLES ban and unban aliases
Ban and Unban Bash aliases to add to system profile or bashrc that will ban, unban and list source addresses to drop with IPTABLES.
alias ban='iptables -I INPUT -j DROP -s' alias unban='iptables -D INPUT -j DROP -s' alias banlist='iptables -L | grep DROP'
Usage would be
ban 18.104.22.168 banlist DROP all -- 22.214.171.124 anywhere unban 126.96.36.199 banlist echo "yeah IP Ban is removed"