Author Topic: Geoip block  (Read 7197 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Geoip block
« on: July 29, 2020, 08:51:10 AM »
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

Re: Geoip block
« Reply #1 on: July 29, 2020, 09:21:52 AM »
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.

Offline
*
Re: Geoip block
« Reply #2 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

Re: Geoip block
« Reply #3 on: July 30, 2020, 09:30:12 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

Offline
*
Re: Geoip block
« Reply #4 on: July 30, 2020, 10:42:13 AM »
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!

Re: Geoip block
« Reply #5 on: July 30, 2020, 12:25:00 PM »
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.