Author Topic: Block Access Country [India and China]  (Read 390 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Block Access Country [India and China]
« on: April 28, 2017, 07:46:35 AM »
Hello

I want to block access to India and China, for this; I changed line
Code: [Select]
CC_DENY = "" to
Code: [Select]
CC_DENY = "IN" in
Code: [Select]
/etc/csf/csf.conf but still open to access from India and China..

Why did not this method work? and what can I do as an alternative?

Offline
*
Re: Block Access Country [India and China]
« Reply #1 on: April 28, 2017, 09:04:41 AM »
I think I did, Is there a possibility redirect my private page?

for example; helloworld.com/no-access

Offline
*
Re: Block Access Country [India and China]
« Reply #2 on: April 28, 2017, 09:41:06 AM »
Hello

I want to block access to India and China, for this; I changed line
Code: [Select]
CC_DENY = "" to
Code: [Select]
CC_DENY = "IN" in
Code: [Select]
/etc/csf/csf.conf but still open to access from India and China..

Why did not this method work? and what can I do as an alternative?


Dont forget:
Code: [Select]
csf -r && csf -q && service lfd restart
Free Support - Problems with Domain, Hosting, VPS, Server... Skype: voduy13