Advertisement
Guest User

ebola-chan quarantine

a guest
Oct 22nd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. ipset create afrinic
  2. for range in 41.0.0.0/8 102.0.0.0/8 105.0.0.0/8 197.0.0.0/8 ; do
  3. ipset add afrinic $range
  4. done
  5. iptables -I INPUT -m set --match-set afrinic -m comment --comment "ebola-chan quarantine" -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement