VLAN Priority when set in a firewall rule, the PASS rule is disrupted
-
@stephenw10 This rules does not work:
This rules does:
I confirm that I do not have any VLAN Prio matching rule in the firewall. And as I explained before, this was working in 23.09.1 and has worked for many years until now.
Testing is done just by making the change, going to the device that belongs to that VLAN and opening a browser to confirm connectivity. In the case of the firewall set as the first screenshot the connection timesout.
-
@graphene Have also tested removing the Tag clause with same results. The below rule does not work. It does when you set the VLAN prio to "none"
-
Ok to be clear it never passes the traffic? Or doesn't set the priority tag?
Is VLAN99 there actually a VLAN interface on pfSense? I could imagine the tags conflicting somehow.
Do you see states opened by that rule when traffic is not passing?
-
@stephenw10 Have not made any inspection to the packets to check if the priority is set in the frame, so cannot tell you if the tag is set or not.
What I can tell you is that the traffic does not PASS with VLAN prio set = EE and other values in my particular use case.
The VLAN99 is an actual interface in pfSense, yes.
-
This is a screenshot of the states on that VLAN after resetting the firewall states and enabling the "not working" rule
-
Is that filtering by the rule number? I have no idea if those states are passed by that rule. You might have other rules on VLAN99.
-
@stephenw10 Good point. Should have explained. Apologies.
The filter I applied was by IP. All 192.168.199.x devices belong to VLAN99.
And there is only one rule that allows outbound traffic from that VLAN and that is the rule we are discussing here.
There are a couple of states to the DNS server which is commanded by an interface group rule and that seems to have some traffic Ok based on the above screenshot.
Interestingly when I filter by rule Id, I don't get any results.
-
Hmm, so it looks like with the rule configured to set priority it is matching traffic and opening states on both interfaces. But there are no replies implying that traffic is either not leaving the WAN or is blocked by something upstream?
The fact it's opening states on WAN implies it is passing VLAN99.
Can you run a packet capture on WAN and see if that traffic is actually leaving?
-
@stephenw10 Thank you.
Yes, it seems the traffic is leaving the WAN interface so it must be something upstream.
Interestingly, the same config was working in the previous version. So I wonder if the priority TAG was stripped in 23.09.1 before leaving WAN and now it just continues form the private LAN to WAN.
Cheers
-
Yes it's possible it's now working correctly and was broken before. There have been a bunch of fixes in pf that might have done that, potentially.