CSF to lock the entire server specific country
Today I will explain how we can block access to our server from a particular country using the CSF. The whole should not take more than a minute, let's get started!
List of country codes is the most current blocking To use the option in the CSF must edit the file from the SSH:
1 | /etc/csf/csf.conf |
find the line:
1 | CC_DENY = "" |
codes and make it a country that we want to block:
1 | CC_DENY = "US,GB,DE" |
Then save and restart CSF:
1 | csf -r |
Related entries:
Installing Telnet in Ubuntu 20.04
Weather forecast for the console and applet for Gnome
Installation of Memcached in the CentOS system 8
Offset show applications at Ubuntu dock to start
ack -l DB_NAME
wp-config.php
wp-admin/setup-config.php
wp-config-sample.php
wp-content/plugins/litespeed-cache/src/db-optm.cls.php
wp-content/plugins/newsletter/system/status.php
wp-includes/load.php
wp-includes/ms-load.php





