Trying to get a GL-MT300N (latest firmware) set up as an access point for my IoT devices however I'm having issues which I cannot figure out.
My network is as follows:
Opnsense router into a managed switch.
Number of devices on LAN (10.8.4.0/24) however VLAN 20 on port 7 and the router.
VLAN 20 has DHCP enabled for the subnet of 192.168.20.0/24
IoT devices connected to the Mango and all on 192.168.20.0/24 & separate from 10.8.4.0/24.
In the standard conf of router mode the Mango gets assigned an IP via the WAN (192.168.20.20) and I can connect to it wirelessly (192.168.8.1) however it says no internet. I read that this is because the WAN will likely be blocking private networks (can't seem to disable this in the Mango GUI).
Have tried placing the Mango into AP mode however when this happens it doesn't get assigned an IP via the VLAN20 DHCP on Opnsense and any devices which connect via WIFI also wont be assigned an IP dynamically.
This doesn't seem like a complicated problem but for whatever reason it won't work as expected.
So interestingly the Mango works as expected when in router mode and connected to another switch port (so on the 10.16.5.0/24 subnet) and devices connected via WiFi on the 192.168... subnet work and can communicate with the internet.
I'm guessing it's an issue with VLAN configuration so I'll need to explore that, but it is strange. When plugged into the VLAN port it will pick up an IP address via the DHCP on the Opnsense VLAN interface so there is some communication there. Very confusing!
I can't see any relevant traffic being blocked by my firewall, eg between Opnsense and the Mango. Only traffic I do see is if I try to connect to the Mangos UI via it's WAN address from the native LAN, which the Mango obviously blocks.
VLAN seems to be properly configured seeing as the Mango can get an IP via the VLAN DHCP on Opnsense. However will not get an address if in AP mode. If the IP is static and then AP mode enabled there is still no communication, even connected WiFi devices won't pick up an address from the Mango.
In router mode I can ping the Mango from Opnsense.
I can't seem to get any data from the Mango flowing back through the Mangos WAN. If I connect to the Mangos WiFi and try to access Google I can see on the Opnsense firewall logs nothing is moving between the Mango and the DNS on Opnsense or the Mango and the Opnsense WAN.