I'm building up a virtual lab in VMware Workstation in which I've got a VM with pfSense and a VM with openWRT (version 23.05.2) I've defined some VLANs in pfSense to send them to openWRT and the local network, but in openWRT I'm not sure if, when defining the VLANs, I've got to check the "local" option or not and how to define them properly so it works like a manageble switch.
"Local: on" means that VLAN interfaces with "." (dot) will be created on this device: "$device.$vlan". For example in the screenshot above you will have:
eth0
eth0.1
eth0.10
eth1
eth1.1
eth1.10
If you turn it off for VLAN 1, then you get:
eth0
eth1
eth1.1
eth1.10
Basically with off, you make the VLAN traffic transparent for the OpenWrt device, except for the bridge. It's ok to leave them off if all you want is a managed switch.
You need "on" to, for example, bridge them with wireless interfaces.