Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ipset create afrinic
- for range in 41.0.0.0/8 102.0.0.0/8 105.0.0.0/8 197.0.0.0/8 ; do
- ipset add afrinic $range
- done
- 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