ansible-roles/evolinux-base/files/deny.sh

4 lines
73 B
Bash

#!/bin/sh
iptables -I INPUT -s $1 -j DROP
echo $1 >> /root/BLACKLIST-SSH