# Check pfSense rule classes before trying to override a group block

> A rule placed on an interface cannot override an earlier matching group rule.

- Canonical URL: https://update.dsesecurity.com/updates/check-pfsense-rule-classes-before-trying-to-override-a-group-block/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-10-20T18:15:52+00:00
- Modified: 2026-10-20T18:34:34+00:00
- Last reviewed by DSE: 2026-10-20
- Resource type: Guide
- DSE priority: Information
- Topics: Cybersecurity, Networks & Infrastructure
- Reading time: 2 minutes

## What you need to know

A rule placed on an interface cannot override an earlier matching group rule.

## Potentially affected

This concerns Layer 3 rule processing in pfSense, including the special VPN groups.

## DSE recommendation

DSE recommends drawing the incoming interface and every group containing it before adding an exception.

## Article

A rule placed on an interface cannot override an earlier matching group rule.

## Source facts

Netgate documents floating rules before interface-group rules, followed by interface rules. A matching group block has already acted before an interface-tab rule is reached. Interface and group rules filter inbound traffic; an allowed connection normally creates state that permits its replies.

Source: [Netgate — Rule Methodology](https://docs.netgate.com/pfsense/en/latest/firewall/rule-methodology.html).

## Applicability

This concerns Layer 3 rule processing in pfSense, including the special VPN groups.

## DSE recommendation

DSE recommends drawing the incoming interface and every group containing it before adding an exception. Put the exception within the class that currently makes the decision, with the narrowest required source, destination, and protocol. Do not accumulate ineffective allow rules on lower tabs. Include floating rules in the review even when another administrator originally installed them. Record which rule should decide both the approved connection and an adjacent connection that should remain blocked. Have a second administrator trace the exception through the ordered classes before approval. Include the matching group name in the test record, so an apparently successful interface edit cannot be credited when a broader earlier rule actually allowed the connection.

## Verification

During an approved change window, use a new connection and inspect its matching rule and state. Compare the intended exception with a denied peer. If existing state masks the change, remove only the authorized test state and repeat; do not clear unrelated sessions.

## Official reference

[Netgate — Rule Methodology](https://docs.netgate.com/pfsense/en/latest/firewall/rule-methodology.html). Reviewed October 20, 2026.

## Primary reference

- Name: Netgate — Rule Methodology
- Authority: docs.netgate.com
- URL: https://docs.netgate.com/pfsense/en/latest/firewall/rule-methodology.html
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Check pfSense rule classes before trying to override a group block,” DSE Security, https://update.dsesecurity.com/updates/check-pfsense-rule-classes-before-trying-to-override-a-group-block/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
