bash shell script to block tor exit nodes
parent
ac087a54ca
commit
3e43ccb210
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
url="https://check.torproject.org/torbulkexitlist"
|
||||
wget -q "$url" -O /tmp/.tor.lst
|
||||
while read -r ipTor; do echo "$ipTor"; iptables -A INPUT -s $ipTor -j DROP; done < /tmp/.tor.lst
|
Loading…
Reference in New Issue