CREATE BRIDGE
/interface bridge
add name=bridge1

ADD HOTSPOT PORTS
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4

HOTSPOT IP
/ip address
add address=10.0.0.1/24 interface=bridge1

DHCP POOL
/ip pool
add name=hs-pool8 ranges=10.0.0.2-10.0.0.254

DHCP SERVER
/ip dhcp-server
add name=dhcp-hotspot interface=bridge1 address-pool=hs-pool8 disabled=no

/ip dhcp-server network
add address=10.0.0.0/24 gateway=10.0.0.1 dns-server=10.0.0.1

DNS
/ip dns
set servers=8.8.8.8,8.8.4.4,1.1.1.1 allow-remote-requests=yes

NAT INTERNET
/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade

HOTSPOT PROFILE
/ip hotspot profile
add name=juanfi-profile hotspot-address=10.0.0.1 html-directory=hotspot

HOTSPOT SERVER
/ip hotspot
add name=hotspot1 interface=bridge1 address-pool=hs-pool8 profile=juanfi-profile

HOTSPOT USER
/ip hotspot user
add name=admin password=123456