You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
192 B
Bash
5 lines
192 B
Bash
3 years ago
|
#!/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
|