Make it an option to block TOR Browser

Primarius

New Member
Aug 28, 2021
3
0
1
Hi Adam,

people told me they bypass the premium function like only download 5 videos a day for example for free user with TOR Browser.
Can you make something like a detection that we can toggle on and off?
 

Derek1244

New Member
YetiShare User
YetiShare Supporter
Jul 17, 2020
11
3
3
Note: The below will prevent any TOR IP from accessing your site or accessing any files linked or hosted by your site.

Daily updated TOR Exit IP List here:

Write the output of that into /etc/nginx/tor-ip.conf
Note: You will need to prepend each IP with deny and end it with a ;

Example: deny 100.10.14.116;

Include the file in your NGINX config:

sudo vi /etc/nginx/sites-enabled/default

server {
include /etc/nginx/tor-ip.conf;
}

Reload:
sudo nginx -t && sudo nginx -s reload
 
Last edited: