Author Topic: ip deny /allow access  (Read 1590 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
ip deny /allow access
« on: December 14, 2017, 11:54:01 AM »
hi,

how can i allow access only to specific countries and deny it to the rest of them !

thanks

Offline
***
Re: ip deny /allow access
« Reply #1 on: December 15, 2017, 04:37:06 AM »
edit file /etc/csf/csf.conf

this example will only allow any ips from India and Indonesia, other blocked
CC_ALLOW = "IN,ID"

pls be aware, as most ips blocked, network perfomance will greatly affected.

Offline
*
Re: ip deny /allow access
« Reply #2 on: February 02, 2018, 07:30:17 PM »
Thanks Jae for your help, i will try this option to see if it helps secure the server a bit more, if i see any network issue i'll think of something different.