Created
February 24, 2022 14:46
-
-
Save zzOzz/18b995bc010b129c17175e1c183c28db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipset -N tor iphash | |
curl 'https://check.torproject.org/torbulkexitlist?ip=' | xargs -n 1 ipset -A tor | |
iptables -A INPUT -m set --match-set tor src -j DROP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment