Page 1 of 1

Question: CC_ALLOW="<few_countries>" + CC_DENY="<any other countries>" is possible ?

Posted: 11 Jul 2017, 17:32
by Smjork
Say I have a server which only needs to be available to a very short set of countries.
Do we have to set csf.conf to explicitly specify EACH country in CC_DENY and CC_ALLOW ?
[...]
CC_DENY="<FULL, explicit list of countries to be denied>"
CC_ALLOW="US,GB,IE"
[...]

... or is there a much simpler way ?

Re: Question: CC_ALLOW="<few_countries>" + CC_DENY="<any other countries>" is possible ?

Posted: 14 Jul 2017, 02:49
by BurakUeda
AFAIK when you set CC_ALLOW, server will automatically deny any other country.
At least that's how it worked for me.