Hello everyone!
Has anyone setup a hotspot on RoS 7.15.1? The problem is in the trial mode, the login page opens, and after clicking on the access trial, nothing happens (it does not work on an iPhone and a Windows laptop), as if there is no transition to captive.apple.com (in Walletgarden, I tried to block and enable it). Similar case: http://forum.mikrotik.com/t/dns-server-doesnt-work-with-hotspot/101095/1
In version 6.49, everything works well on simple settings, and in 7.15.1, the feeling that I got lost in three pine trees.
Configuration part:
/ip hotspot profile
set [ find default=yes ] login-by=http-chap,trial
add hotspot-address=192.168.20.1 login-by=http-chap,http-pap,trial name=\
hsprof1 trial-uptime-reset=0s
/ip pool
add name=dhcp_pool1 ranges=192.168.10.2-192.168.10.254
add name=hs-pool-11 ranges=192.168.20.2-192.168.20.254
add name=hs-pool-15 ranges=192.168.30.2-192.168.30.254
/ip dhcp-server
add address-pool=dhcp_pool1 comment=vlan-home interface=vlan10 name=dhcp1
add address-pool=hs-pool-15 interface=vlan30 name=dhcp3
add address-pool=hs-pool-11 interface=vlan20 name=dhcp2
/ip hotspot
add address-pool=hs-pool-11 disabled=no interface=vlan20 name=hotspot1 \
profile=hsprof1
/ip hotspot user profile
set [ find default=yes ] add-mac-cookie=no address-pool=hs-pool-11 \
rate-limit=10m/10m shared-users=unlimited
/ip smb users
set [ find default=yes ] disabled=yes
/queue type
add kind=pcq name=download-50M pcq-classifier=dst-address pcq-rate=50M
add kind=pcq name=pcq-upload-50m pcq-classifier=src-address pcq-rate=50M
/queue simple
add max-limit=2M/2M name=HOTSPOT-1Mbit queue=\
pcq-upload-default/pcq-download-default target=192.168.20.0/24
/interface bridge port
add bridge=bridgelocal interface=ether2 internal-path-cost=10 path-cost=10 \
pvid=10
add bridge=bridgelocal interface=ether4 internal-path-cost=10 path-cost=10 \
pvid=10
add bridge=bridgelocal interface=wifi5 internal-path-cost=10 path-cost=10 \
pvid=10
add bridge=bridgelocal interface=wifi2 internal-path-cost=10 path-cost=10 \
pvid=10
add bridge=bridgelocal interface=ether5 internal-path-cost=10 path-cost=10 \
pvid=20
add bridge=bridgelocal interface=wifi3 internal-path-cost=10 path-cost=10 \
pvid=20
add bridge=bridgelocal interface=wifi4 pvid=30
/ip firewall connection tracking
set udp-timeout=10s
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface bridge vlan
add bridge=bridgelocal tagged=bridgelocal untagged=ether2,wifi2,wifi5,wifi3 \
vlan-ids=10
add bridge=bridgelocal tagged=bridgelocal untagged=wifi3 vlan-ids=20
add bridge=bridgelocal tagged=bridgelocal untagged=wifi4 vlan-ids=30
/ip address
add address=192.168.10.1/24 interface=vlan10 network=192.168.10.0
add address=192.168.20.1/24 interface=vlan20 network=192.168.20.0
add address=none interface=ether1 network=none
add address=192.168.30.1/24 interface=vlan30 network=192.168.30.0
/ip dhcp-client
add add-default-route=special-classless interface=ether1
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 comment="hotspot network" dns-server=8.8.4.4 \
gateway=192.168.20.1
/ip dns
set allow-remote-requests=yes servers=8.8.4.4