• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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