Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to Block access of a countries in a server  (Read 2706 times)

0 Members and 1 Guest are viewing this topic.

sumesh

  • Guest
How to Block access of a countries in a server
« on: November 24, 2013, 09:01:29 pm »
To block a certain country using CSF

To make the changes you need to edit the following CSF configuration file


vi /etc/csf/csf.conf
search CC_DENY and add country (country codes at - http://www.worldatlas.com/aatlas/ctycodes.htm )

Then restart csf by:

csf -r