Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
Security
»
CSF Firewall
»
How to block a range of IP addresses?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to block a range of IP addresses? (Read 4500 times)
0 Members and 1 Guest are viewing this topic.
zondar
Newbie
Posts: 28
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?
Logged
rcschaff
Sr. Member
Posts: 820
Jack of all Trades, Master of some.
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
Logged
Google Hangouts: rcschaff82@gmail.com
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
Security
»
CSF Firewall
»
How to block a range of IP addresses?