pages:scripts:ban-ip
ban-ip
ban-ip() { /root/scripts/ban-ip/ban-ip.sh $1 }
#!/bin/bash IPTOBAN=$1; echo "banning IP ${IPTOBAN} now"; echo "command: iptables -A INPUT -s ${IPTOBAN} -j DROP;"; iptables -A INPUT -s ${IPTOBAN} -j DROP; exit;
pages/scripts/ban-ip.txt · Last modified: 2022/12/31 00:02 by Heiko Mischer