#TIL : Blocking specified country to prevent from DDOS

Sep 25, 2017 4 mins read 8d4302659

Blocking specified country to prevent from DDOS

Last day I checked system logs and got a lot of warning messages mentioned that my server has been attack via Brute-force. So I decided to blocked some countries from connecting to attacked ports (21, 25). They are China, Russia and US.

This site provides a list of IP blocks of specified country

http://www.ipdeny.com/ipblocks/

comments powered by Disqus