dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


How to block network traffic by country on Linux

Dec 14, 2015, 19:00 (0 Talkback[s])
(Other stories by Xmodulo)

As a system admin who maintains production Linux servers, there are circumstances where you need to block network traffic based on geographic locations.

For example, you are experiencing denial-of-service attacks mostly originating from IP addresses registered with a particular country. You want to block SSH logins from unknown foreign countries for security reasons. Your company has a distribution right to online videos, which requires it to legally stream to particular countries only.

Complete Story

Related Stories: