How to block TOR

Started by maurotb, August 20, 2020, 10:52:14 PM

Previous topic - Next topic
Hi,
i need to block TOR network,
there is an equivalent of pfblockng in opnsense?
Thanks

Hi,

you can create an alias (URL table) with a blacklist file. Then you can define Block/reject rules on your interfaces.

I use this list:
http://panwdbl.appspot.com/lists/ettor.txt

Robert

Firehol Level 3 also includes Tor Exit nodes


I think it would be possible to create that list using tor itself as it has the list in memory. However the tor project  provides an API endpoint by itself: https://check.torproject.org/torbulkexitlist

Please no not query it excessively - maybe once a day.