OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to block TOR
« previous next »
  • Print
Pages: [1]

Author Topic: How to block TOR  (Read 3286 times)

maurotb

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
How to block TOR
« on: August 20, 2020, 10:52:14 pm »
Hi,
i need to block TOR network,
there is an equivalent of pfblockng in opnsense?
Thanks
Logged

robgnu

  • Full Member
  • ***
  • Posts: 122
  • Karma: 8
    • View Profile
Re: How to block TOR
« Reply #1 on: August 21, 2020, 06:39:20 am »
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
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: How to block TOR
« Reply #2 on: August 21, 2020, 10:29:19 am »
Firehol Level 3 also includes Tor Exit nodes
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

maurotb

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: How to block TOR
« Reply #3 on: August 22, 2020, 07:07:36 pm »
Thanks!
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How to block TOR
« Reply #4 on: August 22, 2020, 10:22:54 pm »
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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How to block TOR
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2