How can I deny, allow, or ignore an entire subnet using Juggernaut Firewall?

Overview

Juggernaut Security and Firewall utilizes Classless Inter-Domain Routing (CIDR) notation to define network ranges for deny, allow, and ignore rules. This method replaces traditional decimal subnet masks with a standardized prefix length format.

Configuring Subnet Rules

  1. Navigate to the target rule category: Deny, Allow, or Ignore.
  2. Click the Add button within the configuration grid.
  3. Enter the network range using CIDR notation. The required format is the base IP address followed by a forward slash and the prefix length.
203.0.113.0/24

Note: When converting from a standard subnet mask, ensure you use the network base IP rather than a specific host IP. For example, to block the 255.255.255.0 range associated with 203.0.113.1, enter 203.0.113.0/24.

CIDR Reference Tables

Refer to the tables below to convert decimal subnet masks and IPv6 prefixes to their corresponding CIDR notation.

IPv4

CIDR Prefix Total IP Addresses Network Mask
/8 16,777,216 255.0.0.0
/16 65,536 255.255.0.0
/24 256 255.255.255.0
/25 128 255.255.255.128
/26 64 255.255.255.192
/27 32 255.255.255.224
/28 16 255.255.255.240
/29 8 255.255.255.248
/30 4 255.255.255.252
/31 2 255.255.255.254
/32 1 255.255.255.255

IPv6

CIDR Prefix Total IP Addresses
/64 18,446,744,073,709,551,616
/56 256 /64 subnets
/48 65,536 /64 subnets

Troubleshooting & Common Issues

  • Invalid Format Errors: Ensure the entry strictly follows the IP_Address/Prefix_Length format. Decimal masks (e.g., 255.255.255.0) are not accepted in rule fields.
  • Incorrect Network Base: Verify that the IP address used represents the network base, not a specific host within the subnet.
  • cidr, subnet, deny, allow, ignore
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

Where are the configuration files for Juggernaut Firewall located?

Configuration files are located in the /etc/csf/ directory with the main firewall configuration...

Can I use Juggernaut Firewall to block Wordpress bruteforce attacks?

Yes we support blocking attacks like these very easily. See below for more information: How can...

How can I install or upgrade the extension?

We provide free installation and configuration for all our paid licenses. Open a support ticket...

How can I change the interface language of the extension?

Overview This article provides instructions on how to change the interface language within the...

How can I get detailed help about a specific setting?

Overview This article outlines how to access contextual assistance and detailed configuration...