Page 1 of 1

Blocking Countries

Posted: 09 Apr 2017, 20:30
by WhatNoWebsite
Hi guys

I'm using csf v10.05 to block brute force attempts and it's working well but with one minor issue:

It's also blocking genuine access to the websites.

I'm using the CC_DENY = "country codes here" and I was mistakenly under the impression it would ONLY block WHM or root level access through SSH.

Is there a better solution to what I am doing...? Could I for example whitelist my country and block everything else but NOT block access to the websites...?

Re: Blocking Countries

Posted: 10 Apr 2017, 00:46
by Sergio
Don't know why you want to do this, but you can do it by taking of port 80 on tcp in/out and add your country to CC_ALLOW and write port 80 in CC_ALLOW_PORT.

Don't recommend this in any way, but is your server.