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

Post Reply
Smjork
Junior Member
Posts: 7
Joined: 10 Feb 2014, 08:29

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

Post 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 ?
BurakUeda
Junior Member
Posts: 26
Joined: 14 Jan 2007, 14:26
Location: Japan
Contact:

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

Post by BurakUeda »

AFAIK when you set CC_ALLOW, server will automatically deny any other country.
At least that's how it worked for me.
Post Reply