Now I would like to add the AP, and this is where I am having difficulty. I've followed various tutorials the VLAN setup in OpenWRT and tried different ways but it just doesn't seem to work.
The VLANs setup in OPNsense are:
VLAN10_MANAGE (The Management network connects native management interfaces like WiFi access points)
Not adding the 10 VLAN "br-lan.10". Instead I change the "lan" interface IPv4 address, gateway and DNS to point to the VLAN 10. This works but I'im not sure it is correct
In step 7 I have tried various options of tagged and untagged. Honestly this is the part I am most confused about. Also having one eth port on the Unifi, I'm not 100% what to do here
In step 9 I have also changed the interface to static IP and set IPv4 address, gateway and DNS to point to the VLAN 70, still does not work
Could someone help me figure out in which step(s) I am making mistakes?
first turn on "Bridge VLAN Filtering", change VLAN ID 1 to 10, and at the same time change "Interface" lan to device br-lan.10, then apply the changes. Set device lan as "untagged, PVID"
You should then still be able to access the management interface without any tags.
then add VLANs 20, 30 and 70 to the bridge vlan filtering, and set "Tagged" to all these and also change vlan 10 on device lan to Tagged.
When you now apply, you will lose access unless you access it through the trunk port on your switch, so I would suggest applying changes without rollback by clicking "Apply unchecked". Then connect it to your switch and continue the setup.
then add three more interfaces all of them using the "unmanaged" protocol - name them vpn, clearnet and iot. You don't need to add them to any firewall zone as they are not managed
then add three APs selecting each of the interfaces above
Thanks! After several attempts following the advice from both of you, I think I finally got it to work.
Only difference is I left vlan 10 untagged and set as PVID
I guess the main mistake I was making was step 4-5, bridging the vlans