Blog | G5 Cyber Security

Block Repeated Attacks from Multiple IPs

TL;DR

You’re getting attacked from lots of different IP addresses in various countries. This guide shows you how to block them using your firewall (like iptables or a web application firewall like fail2ban) and potentially investigate the source further.

Solution Guide

  1. Understand the Problem
  • Identify Attacking IPs
  • Block IPs using a Firewall (iptables example)
  • Automate Blocking with fail2ban
  • Consider a Web Application Firewall (WAF)
  • Investigate the Source (Optional)
  • Exit mobile version