Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...



In the event you need to block a whole country, this can be done via the CC_DENY option located within ConfigServer Security & Firewall.


Log into WHM as root.


Click on the “ConfigServer Security & Firewall” link within the “Plugins” section.


Click on the “Firewall Configuration” button.


Image Modified



Search for the “Country Code List and Settings” section.



Enter in the 2 letter CIDR country code you would like to block within the CC_DENY section.


Image Modified



Scroll down to the very bottom and click the “Change” button.


Image Modified



Click the “Restart csf+lfd” button to apply the changes and restart the firewall.


Image Modified



 

From here the country or countries added will no longer be able to access the server.

...