https://check.torproject.org/torbulkexitlist Open raw list Description
The nodes that carry traffic out of the Tor network, published by the Tor Project itself. Useful for treating sign-ups or orders from Tor differently. Think twice before blocking outright: people with a genuine need for protection use Tor as well.
Integration
- Go to Firewall → pfBlockerNG → DNSBL → DNSBL Groups (or IP for IP lists).
- Click Add, give the group a name and add the URL below as source (Format: Auto).
- Save, then run Update → Force Reload.
https://check.torproject.org/torbulkexitlist Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://check.torproject.org/torbulkexitlist" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://check.torproject.org/torbulkexitlist" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="Tor Exit Nodes"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Tor Exit Nodes"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Tor Exit Nodes" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
banIP (recommended)
- Install the package:
opkg update && opkg install banip luci-app-banip - Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
- Enable the feed and click Save & Apply.
https://check.torproject.org/torbulkexitlist Manual with nftables
wget -qO /tmp/blocklist.txt "https://check.torproject.org/torbulkexitlist"
nft add set inet fw4 blocklist { type ipv4_addr; flags interval; }
nft -f - <<EOF
$(awk '!/^[#;]/ && NF {print "add element inet fw4 blocklist { " $1 " }"}' /tmp/blocklist.txt)
EOF
nft add rule inet fw4 forward ip saddr @blocklist drop ipset create blocklist hash:net -exist
curl -fsSL "https://check.torproject.org/torbulkexitlist" | grep -Eo '^[0-9]{1,3}(.[0-9]{1,3}){3}(/[0-9]{1,2})?' |
while read -r net; do ipset add blocklist "$net" -exist; done
iptables -I INPUT -m set --match-set blocklist src -j DROP
iptables -I FORWARD -m set --match-set blocklist src -j DROP Persist the set and re-run the download from cron to keep it current:
ipset save blocklist -f /etc/ipset.blocklist
# /etc/cron.daily/blocklist
Add the list as an ipset in /etc/firehol/firehol.conf:
ipset4 create blocklist hash:net
ipset4 addfile blocklist "https://check.torproject.org/torbulkexitlist"
blacklist4 full inface any src ipset:blocklist Reload with firehol try and confirm before making it permanent.
- Go to Firewall → Aliases and click +.
- Choose type URL Table (IPs), set a refresh interval (for example 1 day) and paste the URL below.
- Save and apply, then use the alias as source in a block rule under Firewall → Rules.
https://check.torproject.org/torbulkexitlist - Go to Firewall → pfBlockerNG → IP → IPv4 and click Add.
- Paste the URL below as source, set State to ON and pick the action (Deny Both is the usual choice).
- Save, then run Update → Force Reload → IP.
https://check.torproject.org/torbulkexitlist curl -fsSL "https://check.torproject.org/torbulkexitlist" -o /var/lib/suricata/data/blocklist.txt Reference the file from a rule using a dataset:
alert ip [!$HOME_NET] any -> $HOME_NET any (msg:"Tor Exit Nodes match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Recent changes
Recently added entries
- 198.167.206.227
- 198.167.206.235
- 86.107.168.253
- 45.9.156.144
- 185.116.94.234
- 82.65.141.110
- 45.9.168.116
- 45.9.2.77
- 178.17.171.74
- 158.173.216.51
- 147.90.182.42
- 45.133.73.10
- 139.162.208.30
- 185.100.85.132
- 103.253.212.243
- 89.125.13.177
- 103.84.206.82
- 193.218.118.89
Recently removed entries
- 80.94.92.92
- 172.104.186.73
- 45.148.10.111
- 80.94.92.99
- 163.172.84.90
- 45.9.168.102
- 150.40.127.100
- 185.132.53.27
- 198.167.206.245
- 198.167.206.220
- 198.167.206.187
- 43.228.157.121
- 185.132.53.46
- 185.246.130.62
- 107.148.223.17
- 192.36.176.245
- 158.94.211.57
- 185.132.53.11
- 185.212.226.76
- 170.64.129.106
- 198.98.51.249
- 193.32.162.86
