Skip to content

Instantly share code, notes, and snippets.

@cenrak
Last active December 22, 2015 02:49
Show Gist options
  • Save cenrak/6406159 to your computer and use it in GitHub Desktop.
Save cenrak/6406159 to your computer and use it in GitHub Desktop.
#/bin/bash
for ip in `cat ips.list`
do
ssh $ip /sbin/iptables -D INPUT -s $1 -j DROP
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment