Skip to content

[26.1] New rules UI: ability to have a floating rule on a single interface #9652

Description

@dstapa

Important notices

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

Is your feature request related to a problem? Please describe.

The legacy rules UI allows for Floating rules on a single, specific interface. For example we can set a Floating rule just on WAN. This is done even in the OPNsense docs (example: https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html#step-11-add-a-kill-switch-optional).

It's also only possible to override a Floating rule with another Floating rule of higher priority, but we may want the override to apply on a single, specific interface.

The new rules UI (renamed from "Automation") in 26.1 doesn't allow this currently. Floating rules have to be either on multiple interfaces or on any interface (none specified), but not on a single interface.

Describe the solution you like

If possible with the new MVC rules system, add back the ability to specify a Floating rule for a single interface.

Describe alternatives you considered

Work-arounds have been discussed in the forum, but involve change in workflow or rule design (or faking the floating rules):

https://forum.opnsense.org/index.php?topic=50496.msg257894#msg257894
https://forum.opnsense.org/index.php?topic=50496.msg257895#msg257895

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributor missing / timeoutsupportCommunity support or awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions