Skip to content

firewall: Rules with inverted interfaces in Firewall: Automation: Filter display in the wrong group #9425

@ruifung

Description

@ruifung

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

In the Firewall: Automation: Filter view, rules with a Invert Interface checked still get displayed under the interface that it's not supposed to be in.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Firewall: Automation: Filter'
  2. Add a rule
  3. Check 'Invert Interface'
  4. Select an interface or group
  5. See that it's displayed under the interface or group it's not supposed to apply to.

Expected behavior

Expected it to display under 'Floating' which is consistent with rules that have multiple interfaces selected.

Describe alternatives you considered

N/A

Screenshots

Image

Relevant log files

N/A

Additional context

N/A

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 25.7.7 (amd64).

Metadata

Metadata

Assignees

Labels

cleanupLow impact changes

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions