Hi @suprim,
No problem at all, and yes, this is possible to do. ??
If you’ve enabled the CIDRAM front-end, the easiest way to block India from your website would be to install and activate the optional India blocklists using the updates page. From the front-end, if you go to the updates page and scroll through the list of components that appear, in that list, you should see these:
India IPv4 blocklist
Optional blocklist, which includes GeoLite data created by MaxMind distributed under the Creative Commons Attribution-ShareAlike 4.0 International License.
Support: BitBucket/macmathan/blocklists
Used with: signatures->ipv4
India IPv6 blocklist
Optional blocklist, which includes GeoLite data created by MaxMind distributed under the Creative Commons Attribution-ShareAlike 4.0 International License.
Support: BitBucket/macmathan/blocklists
Used with: signatures->ipv6
If you install and “activate” those using the options provided on the page, India will be blocked.
Alternatively, if you haven’t enabled the CIDRAM front-end, and would prefer for it to remain disabled, you can install these components manually.
To install these components manually, firstly, visit this repository here. A list of downloadable files should appear. Look for “IN_cidram.inc” and “IN_cidram_ipv6.inc”, and download those two files.
After downloading those two files, upload/copy them into the “vault” directory of your CIDRAM installation.
Next, you’ll want to “activate” these two files.
To “activate” them, look for the “ipv4” and “ipv6” configuration directives in your CIDRAM configuration. Include “IN_cidram.inc” in the “ipv4” directive, and “IN_cidram_ipv6.inc” in the “ipv6” directive.
After saving/updating your CIDRAM configuration, they’ll be “activated”.
India should now be blocked. ??
Let me know how it goes, and whether there are problems.
-
This reply was modified 6 years, 7 months ago by
Maikuolan. Reason: Fix wrong formatting
-
This reply was modified 6 years, 7 months ago by
Maikuolan. Reason: Fix wrong formatting
-
This reply was modified 6 years, 7 months ago by
Maikuolan. Reason: Fix wrong formatting