IP ban

  • How to block traffic from other countries in linux

    Posted December 27, 2013 - 9:00 am

    It’s a sad fact that the majority of malicious web traffic to US sites originates from the same handful of foreign countries. If your site doesn’t benefit from actual users living in those countries, you may resolve to block them from accessing your site entirely in order to prevent repeated attacks. Here’s how to blacklist entire countries under linux using iptables and ipset.

Join today!

See more content
Ask a Question