MikroTik router board and TP-Link AC1750 with current OpenWRT
On the MikroTik I have LAN and a hotspot.
Normal LAN goes to LAN1 with OpenWRT for devices in the LAN network.
Now I have set up a VLAN3 and added port 3-4 untagged. And added a new interface called Hotspot and connected the hotspot cable to LAN3.
If I now use a LAN cable on LAN 4, I get an IP and the login page of my hotspot appears. So that's going. 2 ports are for the hotspot, 2 ports for the local LAN
Now, of course, I would like to have the whole thing via WLAN. I created a new SSID and selected the hotspot as the covered network.
Unfortunately I don't get an IP assigned by DHCP. No DHCP server is active on the wireless AP, everything is handled by the MikroTik. The problem only exists with the hotspot interface.
Do I still have to take care of anything with the firewall rules or how do I get it that I get an IP assigned via DHCP in this constellation via wireless. As already written above, if I use a LAN cable it works right away.
I still can't see much but I see country is "00" which will limit wifi performance compared to setting it to your actual country. That is on the Advanced tab in wifi settings.
The "hotspot" interface should be a bridge of proto none (Luci calls it Unmanaged). Between Ethernet ports it is merely hardware switching, you have to bring the VLAN into the CPU and software bridge it to the wifi for an AP to work properly.
On the Network-Interfaces page click the Devices tab and add a device type Bridge Device named br-hotspot and physical device eth0.3. Then go back to the Interfaces tab and add an interface named hotspot of protocol Unmanaged and device br-hotspot.
The firewall is not involved with unmanaged interfaces. You don't have to set anything in the firewall.