#VPNCloudflareBlock
should block most vpns / datacenters from accessing your site , you can just edit out the error image or text if you dont want ot
Follow the steps below to set up VPNCloudflareBlock for your domain:
-
Copy the contents of the Makimura.js file.
-
Go to your Cloudflare dashboard and navigate to the Workers section.
-
Create a new Cloudflare Worker and paste the copied contents of the Makimura.js file into the editor.
-
Save the Cloudflare Worker and take note of the assigned URL or route.
-
In the Cloudflare dashboard, go to the "Security" section and select "WAF".
-
Create a new rule and set the condition to "country equal to Tor" or "(ip.geoip.country eq 'T1')". This should block Tor.
-
Save the WAF rule and make sure it is enabled.
-
Route the Cloudflare Worker you created in step 4 to your domain.
With these steps completed, the VPNCloudflareBlock setup is in place, and it will work to block the majority of VPN and proxy traffic from accessing your site.
wont block all but should be plenty for most people
This project is licensed under the MIT License.
Feel free to contribute, open issues, or submit pull requests to enhance the functionality or address any concerns with VPNCloudflareBlock.
I created the Makimura.js Script , but the script is only part of it .
The block list is taken from a bunch of repositories :
I'm sure there's more, thanks to all of them.