Hotspot passthough

Hello!

I have RB951Ui-2HnD router with following settings:
WAN connection is WLAN
ether2 is master port for slaves ether3, ether4
ether5 has hospot server on ifself

networks:
192.168.88.0/24 for ether2
10.0.0.0/24 for hotspot

I also have remote WiFi AP connected to ether5 working in bridge mode. AP has IP binding for hotspot bypass. I’d like to make AP accessible from local interfaces and make it inaccessible inaccessible from it’s clients. I create static lease in DHCP server and assign 192.168.88.4 address for AP. Then, i create static route for 192.168.88.4 to ether5 interface. AP visible from Mikrotik but not from local (connected to ether2-ether4) clients until they define static route to 192.168.88.4 through 192.168.88.1 gateway. Is it possible to configure Mikrotik send this route to local clients? May be it is another solution without static routing?
Thanks in advance.

Have you set gateway on IP > DHCP server > Networks? Clients should already get default gateway through DHCP…

WiFi AP has same subnet with e ther2, that is why clients try to perform connection directly, not through gateway until they obtain static route. DHCP classless routes seems to be solution…

I have mad two additional addresses for MT router and two dst-nat rules with forwarting to actual adresses