• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Block access from the TOR network to my domains

Tize

Basic Pleskian
Hello everyone, I would like to know if anyone.
How to block access to the domains hosted in Plesk of the TOR network?
I currently have CSF installed since it is a bit more advanced than iptables.

SO: CentOS 6.5 (Final)‬
Versión de Plesk: 12.5.30 Actualización #59, última actualización 31/Ene/2017 03:44

Thank you very much.
 
Hi,

You can get the list with IPs of all the exit nodes that can access your service from this link

https://check.torproject.org/cgi-bin/TorBulkExitList.py

Then you can add the IP's to :
vi /etc/csf/csf.deny

Restart CSF.

Also If you need to whitelist or block a range of IP addresses using CSF, it can be done, but you need to use the CIDR format.

For example, to block 192.168.0.0 to 192.168.0.255 you would add 192.168.0.0/24 to the blocked list.

You can use the following tool: http://ip2cidr.com/

and use the following command

csf -d IP/Range

Thanks,
 
Hi,

You can get the list with IPs of all the exit nodes that can access your service from this link

https://check.torproject.org/cgi-bin/TorBulkExitList.py

Then you can add the IP's to :
vi /etc/csf/csf.deny

Restart CSF.

Also If you need to whitelist or block a range of IP addresses using CSF, it can be done, but you need to use the CIDR format.

For example, to block 192.168.0.0 to 192.168.0.255 you would add 192.168.0.0/24 to the blocked list.

You can use the following tool: http://ip2cidr.com/

and use the following command

csf -d IP/Range

Thanks,



Hello, thank you very much for your help and for your time.
I have been looking at what you mention but I think there must be another way to do it without having to block iP addresses.
Because by blocking the addresses as you tell me by ranges that are thousands of the TOR network.

It would take a long time.

If you are so kind to enter here from TOR www.tdbank.com you can check what I mean, directly block TOR DNS or something else, and now many banks and prestigious websites use this same technology.

I hope you can help me, and thank you very much for your time.


Captura de pantalla 2017-02-17 a las 9.50.23.png
 
Back
Top