Tutorials

:: Banned countries ip on CSF

:: How to ban countries ip on CSF (ConfigServer Security & Firewall)
+ edit csf.conf

vi /etc/csf.conf

+ add two-letters country code on CC_DENY (ex: US,ID)

CC_DENY = US,ID

you can refer this url for other countries.
+ restarting csf

/etc/init.d/csf restart

 
:: Links
+ Google
+ Ponap

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *