Community discussions

just joined
Topic Author
Posts: 2
Joined: Thu Jun 21, 2018 1:28 pm

Hotspot problem IOS 10.4

Thu Jun 21, 2018 2:56 pm


have problem to see login page on Apple devices with IOS 10.4 alerdy try change dns name to other one but dosent help any other ideas ?

Export here:

/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] name=ether1-WAN_24G rx-flow-control=on \
set [ find default-name=ether2 ] name="ether2-modry_bar v pravo"
set [ find default-name=ether3 ] name=ether3-modry_bar_vlevo
set [ find default-name=ether6 ] disabled=yes name=ether6-eoip_kancl
set [ find default-name=ether10 ] name="ether10-sfp switch"
/interface eoip
add !keepalive mac-address=02:98:4F:34:72:4E name=eoip-tunnel1-hladkov \
remote-address= tunnel-id=6
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] hotspot-address=
add hotspot-address= login-by=http-chap name=\
/ip pool
add name=dhcp_pool0 ranges=
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 lease-time=1d name=\
/ip hotspot
add address-pool=dhcp_pool0 disabled=no idle-timeout=10m interface=bridge1 \
keepalive-timeout=5m name=hotspot1 profile=hsprof1
/ip hotspot user profile
set [ find default=yes ] add-mac-cookie=no address-pool=dhcp_pool0 \
idle-timeout=2m5s shared-users=8000
/snmp community
set [ find default=yes ] addresses=
add addresses= name=awn
/interface bridge port
add bridge=bridge1 hw=no interface=sfp1
add bridge=bridge1 hw=no interface="ether2-modry_bar v pravo"
add bridge=bridge1 hw=no interface=ether3-modry_bar_vlevo
add bridge=bridge1 hw=no interface="ether10-sfp switch"
add bridge=bridge1 interface=eoip-tunnel1-hladkov
add bridge=bridge1 hw=no interface=ether6-eoip_kancl
/ip address
add address= interface=ether1-WAN_24G network=
add address= interface=bridge1 network=
add address= disabled=yes network=
/ip dhcp-server config
set store-leases-disk=never
/ip dhcp-server lease
add address= client-id=1:0:19:3b:c:ce:75 mac-address=\
00:19:3B:0C:CE:75 server=dhcp1
add address= client-id=1:0:19:3b:c:cd:4f mac-address=\
00:19:3B:0C:CD:4F server=dhcp1
add address= client-id=1:0:19:3b:13:96:ef mac-address=\
00:19:3B:13:96:EF server=dhcp1
add address= client-id=1:0:19:3b:13:96:26 mac-address=\
00:19:3B:13:96:26 server=dhcp1
add address= client-id=1:0:19:3b:13:95:6f mac-address=\
00:19:3B:13:95:6F server=dhcp1
add address= client-id=1:0:19:3b:13:a9:b3 mac-address=\
00:19:3B:13:A9:B3 server=dhcp1
add address= client-id=1:0:19:3b:13:a1:d0 mac-address=\
00:19:3B:13:A1:D0 server=dhcp1
add address= client-id=1:0:19:3b:13:a9:bf mac-address=\
00:19:3B:13:A9:BF server=dhcp1
add address= client-id=1:0:19:3b:13:96:ec mac-address=\
00:19:3B:13:96:EC server=dhcp1
add address= client-id=1:0:19:3b:13:9f:8a mac-address=\
00:19:3B:13:9F:8A server=dhcp1
add address= client-id=1:0:19:3b:13:95:b1 mac-address=\
00:19:3B:13:95:B1 server=dhcp1
add address= client-id=1:0:19:3b:13:96:d4 mac-address=\
00:19:3B:13:96:D4 server=dhcp1
add address= client-id=1:0:19:3b:11:6:2 mac-address=\
00:19:3B:11:06:02 server=dhcp1
add address= comment="meteorologicka stanice" mac-address=\
00:1D:8C:0D:EB:B1 server=dhcp1
add address= client-id=1:0:19:3b:13:96:bf mac-address=\
00:19:3B:13:96:BF server=dhcp1
add address= client-id=1:0:19:3b:13:ad:d mac-address=\
00:19:3B:13:AD:0D server=dhcp1
add address= client-id=1:0:19:3b:c:cf:e mac-address=\
00:19:3B:0C:CF:0E server=dhcp1
/ip dhcp-server network
add address= dns-server=, gateway=
/ip dns
set servers=,
/ip firewall address-list
add address= comment=ispadmin_DROP_NETWORKS list=\
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
add action=accept chain=hs-unauth-to comment="TEST API" disabled=yes \
dst-address= out-interface=bridge1
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_1_ \
dst-port=123 protocol=udp
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_2_ \
protocol=udp src-port=123
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_3_ \
dst-port=8291 protocol=tcp
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_4_ \
protocol=tcp src-port=8291
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_5_ \
dst-port=9999 protocol=tcp
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_6_ \
protocol=tcp src-port=9999
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_7_ \
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_8_ \
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_9_ \
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_10_ \
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_11_ \
add action=accept chain=ispadmin_first_forward comment=ispadmin_first_12_ \
add action=jump chain=forward comment=ispadmin_first_forward jump-target=\
add action=jump chain=forward comment=ispadmin_service_forward jump-target=\
add action=jump chain=forward comment=ispadmin_basic_forward jump-target=\
add action=drop chain=ispadmin_drop_forward comment=ispadmin_drop_forward
add action=jump chain=forward comment=ispadmin_drop_NETWORK_SRC jump-target=\
ispadmin_drop_forward src-address-list=ispadmin_DROP_NETWORKS
add action=accept chain=ispadmin_service_forward comment=\
rtr_Zlutelazne_G_RB3011_7519_ispadmin_up src-address=
add action=jump chain=ispadmin_basic_forward comment=\
ispadmin_group_src_10.143.32.0/26 jump-target=\
ispadmin_group_src_10.143.32.0/26 src-address=
add action=accept chain=ispadmin_group_src_10.143.32.0/26 comment=\
Taiko_a_s____ispadmin_52846_up src-address=
add action=jump chain=ispadmin_basic_forward comment=\
ispadmin_group_net_src_10.143.32.0/20 jump-target=\
ispadmin_group_src_10.143.32.0/20 src-address=
add action=accept chain=ispadmin_group_src_10.143.32.0/20 comment=\
Taiko_a_s____ispadmin_52846_net_1_up src-address=
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
add action=jump chain=dstnat comment=ispadmin_first_dstnat jump-target=\
add action=jump chain=dstnat comment=ispadmin_service_dstnat jump-target=\
add action=jump chain=dstnat comment=ispadmin_basic_dstnat jump-target=\
/ip hotspot ip-binding
add comment="odtud zacinaji NFTcka" mac-address=00:19:3B:0C:CD:4F type=bypassed
add mac-address=00:19:3B:13:A9:B3 type=bypassed
add mac-address=00:19:3B:13:95:B3 type=bypassed
add mac-address=00:19:3B:13:95:B1 type=bypassed
add mac-address=00:19:3B:13:A9:BF type=bypassed
add mac-address=00:19:3B:13:9F:8A type=bypassed
add mac-address=00:19:3B:13:A1:D0 type=bypassed
add mac-address=00:19:3B:13:96:EC type=bypassed
add mac-address=00:19:3B:13:95:6F type=bypassed
add mac-address=00:19:3B:0C:CF:0E type=bypassed
add mac-address=00:19:3B:0C:CE:75 type=bypassed
add mac-address=00:19:3B:13:96:D4 type=bypassed
add mac-address=00:19:3B:13:96:26 type=bypassed
add mac-address=00:19:3B:13:96:BF type=bypassed
add mac-address=00:19:3B:13:96:EF type=bypassed
add mac-address=00:19:3B:13:AD:0D type=bypassed
add comment="meteorologicka stanice" mac-address=00:1D:8C:0D:EB:B1 type=\
add comment="pizza giallo nejaky pc co je tam furt" mac-address=\
00:25:56:26:EA:37 type=bypassed
add comment="odtud zacinaji CSSka" mac-address=CC:2D:E0:16:2C:E8 type=bypassed
add mac-address=CC:2D:E0:16:35:5E type=bypassed
add mac-address=CC:2D:E0:16:35:58 type=bypassed
add mac-address=CC:2D:E0:16:2C:64 type=bypassed
add mac-address=CC:2D:E0:16:2C:E2 type=bypassed
add comment=60GHz mac-address=64:D1:54:EE:11:AB type=bypassed
add comment=CRS mac-address=64:D1:54:4A:76:DD type=bypassed
add mac-address=00:19:3B:11:06:02 type=bypassed
/ip hotspot user
add address= name=admin password=vltava456
/ip hotspot walled-garden
add comment="place hotspot rules here" disabled=yes
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
add server=hotspot1
/ip hotspot walled-garden ip
add action=accept disabled=no dst-address= !dst-port !protocol \
server=hotspot1 !src-address
add action=accept disabled=no dst-address= !dst-port !protocol \
server=hotspot1 !src-address
add action=accept disabled=no dst-address= dst-port=7443 \
!protocol server=hotspot1 src-address=
add action=accept disabled=no dst-address= !dst-address-list \
!dst-port protocol=tcp server=hotspot1 !src-address !src-address-list
/ip route
add distance=1 gateway=
/ip service
set telnet disabled=yes
set www port=9999
set api-ssl disabled=yes
set enabled=yes location=Pr
/system clock
set time-zone-name=Europe/Prague
/system identity
set name=zlute_lazne_router_sarel
/system routerboard settings
set silent-boot=no
/system script
add name=ispadmin_info_pages owner=hermes policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":local sr\
\n:local srcport\r\
\n:local srcaddrs\r\
\n:global listinfo\r\
\n:global server\r\
\n:set server\r\
\n:foreach j in=[/ip firewall address-list find list=\"ispadmin_info_pages_r\
un\"] do={\r\
\n /ip firewall address-list\r\
\n :set listinfo [get \$j address]\r\
\n :local infook [/ip firewall address-list find (list=\"ispadmin_inf\
o_pages_ok\" && address=\"\$listinfo\")]\r\
\n :if (\$infook = \"\") do={\r\
\n /ip firewall connection\r\
\n :foreach i in=[/ip firewall connection find (src-address~\
\"\$listinfo:\" && connection-mark=\"info_pages\" && tcp-state=\"est
d\")] do={\r\
\n :set srcaddr [get \$i src-address]\r\
\n :set srcaddrs [:find \$srcaddr \":\"]\r\
\n :if ( \$srcaddrs != \"\" ) do= {\r\
\n :set srcport [:pick \$srcaddr ([:fi
caddr \":\"]+1) [:len \$srcaddr]]\r\
\n /tool fetch keep-result=no mode=htt
\n\t\t\t\t:delay 3\r\
\n\t\t\t\t/ip firewall connection remove number=\$i\r\
\n }\r\
\n }\r\
\n }\r\
\n /ip firewall address-list remove numbers=\$j\r\
Long time Member
Long time Member
Posts: 540
Joined: Fri Dec 03, 2010 1:38 am

Re: Hotspot problem IOS 10.4

Sat Jun 23, 2018 6:12 am

Why do you have in your walled-garden? iOS uses this url to see if the device is behind a captive portal. If it can access it, it will not pop up the login page.
User avatar
Forum Guru
Forum Guru
Posts: 1740
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia

Re: Hotspot problem IOS 10.4

Sat Jun 23, 2018 7:01 am

Why do you have in your walled-garden? iOS uses this url to see if the device is behind a captive portal. If it can access it, it will not pop up the login page.

useful tip, thank you for the info 8)
just joined
Topic Author
Posts: 2
Joined: Thu Jun 21, 2018 1:28 pm

Re: Hotspot problem IOS 10.4

Tue Jun 26, 2018 4:17 pm

Problem solved thanks

Who is online

Users browsing this forum: Google [Bot] and 80 guests