It also depends on the rest of your config. What you have can work with independent wireless interface. But in case you have it bridged with wired, in-interface=all-wireless won’t match, because from firewall’s point of view, packed will be coming from bridge.
So the situation is because all interfaces are in same bridge? its logical
So If I create other bridge, put both wireless ifaces on it, it should work with this config?
The basic rule of thumb for in/out interface matching in the IP firewall is whether or not there’s an IP address on the interface you mention. Only IP interfaces have their traffic passed to the IP firewall.
So please could you help me in this setup?
I got everything working, I now I have hits in the firewall, but I think I got some questionable config
# RouterOS v6.40.1 - MikroTik hAP ac
# new bridge
/interface bridge
add name=wifi-bridge
# ifs on the bridge
/interface bridge port
add bridge=wifi-bridge comment=defconf interface=wlan-2G
add bridge=wifi-bridge comment=defconf interface=wlan-5G
# creating subnet for it
/ip address
add address=10.10.11.1/24 interface=wifi-bridge network=10.10.11.0
# then
# create a pool
/ip pool
add name=wifi-pool ranges=10.10.11.160-10.10.11.189
# associate pool/bridge
/ip dhcp-server
add address-pool=wifi-pool disabled=no interface=wifi-bridge name=server1
# I need this to make it work
/ip dhcp-server network
add address=10.10.11.0/24 gateway=10.10.11.1
looks ok, did I forgot something?
Also Whats the difference in creating a subnet “/ip address add address=" and the subnet created "/ip dhcp-server network”
I think it looks ok. And in “/ip address” there’s address (and network) used by router, while “/ip dhcp-server network” is config given to dhcp clients.