New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Geoip block

Started by Com-QuadTech, July 29, 2020, 08:51:10 AM

Previous topic - Next topic

Com-QuadTech

Geoip block


Geiop Block by country regions and IPs
Why is it not integrated into the CP so that it can be configured from the Admin CP, this function would have been long overdue, moreover, so that the countries can be blocked, but then individual regions can be allowed from the blocked countries. As a further bonus, it would be if each user (domain) could then determine who has access to his website.

Thank you very much and keep up the good work

cinique

It is included within CSF but CWP removed the official GUI in favour of their own custom cut-down one, for some crazy reason.
Easy to add on the command line, if you care to read the CSF documentation.

Com-QuadTech

Thanks for the hint! Then I'll try it out

Can you please tell me where the entry has to be made

cinique

Quote from: Com-QuadTech on July 30, 2020, 05:51:51 AM
Thanks for the hint! Then I'll try it out

Can you please tell me where the entry has to be made
it is VERY straightforward, if you read/edit the /etc/csf/csf.conf file.
IPSET
CC_DENY

Com-QuadTech

Super clear thanks, I should have figured it out myself, I guess I didn't see the forest for the trees.

Super thanks again very much!

cinique

You're welcome. I'm happy to help people who make an effort. ;)

http://forum.centos-webpanel.com/index.php?topic=8576.msg29816#msg29816
Trying to find the instruction on how to manually add it back. It is/was here on the forum somewhere and I should have some notes on it. The ever-helpful Rcshaff put the final touches on it.