Cant connect to winbox after hotspot setup

Hello Guys
I’m using 2 wan load balance setup (PCC)
all goes right
but when I setup hotspot I can’t connect to winbox and cant ping router board and no internet access
any help, please

/interface ethernet
set [ find default-name=ether5 ] name=Local
set [ find default-name=ether1 ] name=WAN1
set [ find default-name=ether2 ] name=WAN2

/ip address
add address=192.168.16.254/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local
add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1
add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2

/ip firewall mangle
add action=accept chain=prerouting in-interface=WAN1
add action=accept chain=prerouting in-interface=WAN2

add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes

add chain=prerouting connection-mark=WAN1_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1
add chain=prerouting connection-mark=WAN2_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2

/ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_WAN1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_WAN2 check-gateway=ping

add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping

/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2

your pcc config looks ok

hotspot will divert traffic to login page, hence you would want to setup hotspot on a guest network only, not your internal network.

No divert to hotspot login page
I setup it on Local NIC (LAN)
What you mean guest network

https://wiki.mikrotik.com/wiki/Manual:IP/Hotspot

The MikroTik HotSpot Gateway provides authentication for clients before access to public networks .

I think you should still have access to routerboard when using MacServer with WinBox → so connect to “mac of routerboard”.

Can’t access with mac too…

Not sure if it affects winbox connectivity, but IP settings on local interface are wrong:

/ip address
add address=192.168.> 16> .254> /24 > network=192.168.> 0> .0 broadcast=192.168.> 0> .255 interface=Local

Address with its netmask is not compatible with network and broadcast addresses. Netmask seems correct (if looking at network and broadcast addresses), it’s the interface address which doesn’t seem right.

It’s impossible to comment on MAC winbox connection as the setup about that is not shown in posted configuration excerpt.