Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ipset -N blocktor iphash
- curl -s https://www.dan.me.uk/torlist/ | sed '/^#/d' | while read adress
- do
- ipset -q -A blocktor $adress
- done
- iptables -A INPUT -m set --match-set blocktor src -j DROP
Add Comment
Please, Sign In to add comment