OPNSense VM on TrueNAS Scale Electric Ele

Hi everyone! I’ve installed an OPNsense VM on TrueNAS Scale Electric Ele and have two physical network interfaces:

  1. enp0s31f6 for WAN.
  2. enp2s0 for LAN.

I also have a switch and an access point that support VLAN routing. I’ve configured multiple VLANs in OPNsense, and I want OPNsense to manage VLAN tagging and routing. How should I configure the TrueNAS bridges and connect the switch/AP to ensure proper VLAN functionality? Any advice on setting up VLANs for devices on the network would be amazing. Thanks!