0

I'm trying to ban an ip range with ip6tables.

I'm adding this line to /etc/sysconfig/ip6tables

-A INPUT -s ::ffff:58.26.318.213 -j DROP

But I want to ban everything that starts with 58.26 so that it bans ::ffff:58.26.318.214 and ::ffff:58.26.318.215 as well. How do I do it? THanks.

Harry
  • 101
  • 2

0 Answers0