OPNsense Forum

English Forums => General Discussion => Topic started by: mooh on August 12, 2025, 12:24:44 PM

Title: Floating Rules and WAN Interfaces
Post by: mooh on August 12, 2025, 12:24:44 PM
I just realised that floating rules are not always applied to WAN interfaces. Running 25.4.2 on 2 DEC750 systems, one has a PPPoE with VLAN WAN interface, the other has a physical ethernet interface as WAN. The floating rules are not applied to the PPPoE WAN. I haven't found any documentation on that. What should be the right behaviour?
Title: Re: Floating Rules and WAN Interfaces
Post by: Patrick M. Hausen on August 12, 2025, 12:39:19 PM
Floating rules are applied to PPPoE WAN here on my systems. Show your rules for further assistance.
Title: Re: Floating Rules and WAN Interfaces
Post by: mooh on August 13, 2025, 11:00:12 AM
Here are the screenshots. The floating rules don't even show up on the WANoE rule set.

Looking at the floating rules a bit closer, there's a counter "6" saying how many interfaces these rules apply to and hovering above the number even shows them by name. This FW has 11 interfaces, one of them disabled. The others are physical, VLANs and PPPoE, V4 only and dual stack, DHCP and static,... I don't see a pattern.

So, my question I guess is what causes floating rules not to be applied? I can't find anything in the docs
Title: Re: Floating Rules and WAN Interfaces
Post by: Seimus on August 13, 2025, 11:02:57 AM
To which interfaces did you assign that floating rule?

Regards,
S.
Title: Re: Floating Rules and WAN Interfaces
Post by: mooh on August 13, 2025, 11:22:47 AM
That's my question: The way I understand it, floating rules should apply to all interfaces implicitly. Is that not the case?
Title: Re: Floating Rules and WAN Interfaces
Post by: Seimus on August 13, 2025, 11:25:42 AM
By default yes, but you can choose as well to which to apply it explicitely.

Open that Floating rule and check to which interfaces is it applied.

Regards,
S.
Title: Re: Floating Rules and WAN Interfaces
Post by: Patrick M. Hausen on August 13, 2025, 11:27:47 AM
Quote from: mooh on August 13, 2025, 11:22:47 AMThat's my question: The way I understand it, floating rules should apply to all interfaces implicitly. Is that not the case?

By default yes - but this can be changed:

(https://forum.opnsense.org/index.php?action=dlattach;attach=46944;image)
Title: Re: Floating Rules and WAN Interfaces
Post by: mooh on August 13, 2025, 11:39:26 AM
Thanks a lot, guys! The floating rules only appear in the interface rules if there is at least one match. I expected to see an empty floating rules section when there are no matches.