Multiple VLANs over bridge

Hi all.
I’m trying to configure this scenario:

Router2 to Router1 with trunk port (vlan10 dhcp client)
Router2-Port4 VLAN 10 Untagged (dhcp) VLAN 12,13,14 Tagged
Router2-Port5 VLAN 16 Untagged
Attached you can find a little diagram.

The problem is in port 4, only works if I remove the option “VLAN Filtering” on the bridgem but then I can’t set untagged vlan 16 on port5.

Thanks a lot in advance,

/interface bridge
add name=bridge1 vlan-filtering=yes

/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 comment="AP - VLAN10 Untagged" interface=ether4 pvid=10
add bridge=bridge1 comment="Camera - IP VLAN16 Untagged" interface=ether5 pvid=16

/interface bridge vlan
add bridge=bridge1 comment="VLAN16 Untagged" tagged=ether1 untagged=ether5 vlan-ids=16
# AP VLAN10 untagged, tagged WLANs
add bridge=bridge1 comment="VLAN10 Untagged" tagged=ether1 untagged=ether4 vlan-ids=10
add bridge=bridge1 comment="VLAN 12 Tagged from AP" tagged=ether1,ether4 vlan-ids=12
add bridge=bridge1 comment="VLAN 13 Tagged from AP" tagged=ether1,ether4 vlan-ids=13
add bridge=bridge1 comment="VLAN 14 Tagged from AP" tagged=ether1,ether4 vlan-ids=14

2023-06-14 155416.jpg

If you connect a normal device (e.g. a windows PC) to ether4 of router2, does it also fail to work properly (i.e. fails to obtain DHCP lease, can not communicate bidirectionally with gateway)?

The config looks right, so it could be it’s config of AP which is missing some bits …

Yes, a pc or camera get right vlan.