Skip to content

Instantly share code, notes, and snippets.

@cenrak
Created September 1, 2013 18:00
Show Gist options
  • Save cenrak/6406143 to your computer and use it in GitHub Desktop.
Save cenrak/6406143 to your computer and use it in GitHub Desktop.
#/bin/bash
for ip in `cat ips.list`
do
ssh $ip /sbin/iptables -I INPUT -s $1 -j DROP
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment