Author Topic: How to block a range of IP addresses?  (Read 4248 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to block a range of IP addresses?
« on: May 06, 2020, 09:54:39 PM »
Hi.
Is it possible to deny access from several ip addresses with one rule?
For example, how to add ip addresses to the blacklist: 110.92.30.30, 110.92.31.60, 110.92.86.90
one rule? Or should each address be added separately?

Offline
****
Re: How to block a range of IP addresses?
« Reply #1 on: May 06, 2020, 10:28:28 PM »
Individual IP's should be one line. If however you want to block and entire subnet, you could use:
http://www.subnet-calculator.com/cidr.php to type in the IP, and adjust the CIDR to get a list of IP's (At the bottom).

Then use the Net: CIDR Notation to block the whole subnet.

EX:  TO block 110.92.30.0 - 110.92.30.255 you would use 110.92.30.0/24
Google Hangouts:  rcschaff82@gmail.com