Block IP Range

From mywiki
Revision as of 12:47, 16 September 2024 by Johnny (talk | contribs)
Jump to navigation Jump to search


EditDate 2024-02-06

Related Threads:

Use iptables and ipset to block ip range


  1. ipset add blacklist 1.1.1.0/24
  2. edit ipsets in /etc/iptables/ to make permanent.

Web References https://ipset.netfilter.org/ipset.man.html

--Johnny (talk) 12:47, 16 September 2024 (UTC) While on vacation Bot Barkrowler started do repetitive queries of 500 records. On www I editted robots.txt to disallow Barkrowler and updated apache-badbots filter in fail2ban to block them.