I've a VPS Server running CENTOS 6.7 x86_64 with CSF Firewall activated. Sometimes I see in "Firewall Deny IPs" that blocks suddenly connections from my country (Spain) to some of my clients.

Not with everybody and not everyday, but 2-3 times per week I've to unblock manually some of my clients' IPs because CSF is blocking them.

How can I configure it for not blocking connections from Spain and working the same way until now with the rest of the world? I don't want to connect ONLY from Spain, I want not to block any IP from Spain.


have a look at CC_ALLOW


WARNING: CC_ALLOW allows access through all ports in the firewall. For this reason CC_ALLOW probably has very limited use and CC_ALLOW_FILTER is preferred

Personally I would look at why they are being blocked rather than blanket allowing them.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.