After the html doc updates and FTP'ing the files to the router hotspot dir, unauthorized users are no longer redirected to the login screen (short of typing in the hotspot IP address which then displays the login screen and does allow successful logons - but is nonetheless incorrect -.)
I have reverified the layout of the code in each html doc.
I have re-uploaded the default html docs to the router and still the same result - no login screen display -
I have reset the router configuration four times and reconfigured the hotspot ... I used the auto configuration as exhibited here: https://wiki.mikrotik.com/wiki/Manual:IP/Hotspot ; as I have also followed this example: https://mikrotik.com/documentation/manu ... ht90237610 (which I prefer configuration-wise).
Has anyone encountered this same problem? Or maybe you see my error(s), I would appreciate any suggestions.
Code: Select all
# jan/02/1970 15:09:01 by RouterOS 6.42.3
# software id = 046D-LZ6N
#
# model = 333
# serial number = 179801C18694
/interface wireless
set [ find default-name=wlan1 ] antenna-mode=ant-b country="united states" disabled=no mode=ap-bridge radio-name=5ghz-hs-interface ssid="wubble"
set [ find default-name=wlan2 ] antenna-mode=ant-b country="united states" disabled=no mode=ap-bridge radio-name=2ghz-hs-interface ssid="gubble"
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
add hotspot-address=192.188.254.254 login-by=cookie,http-chap,trial name=hs-server-profile-2ghz
/ip pool
add comment=pre-auth-pool-2ghz name=pool0 ranges=192.188.254.10-192.188.254.252
add comment=post-auth-pool-2ghz name=pool1 ranges=172.168.254.10-192.168.254.252
/ip dhcp-server
add add-arp=yes address-pool=pool0 disabled=no interface=wlan2 lease-time=14s name=hs-dhcp-server-2ghz src-address=192.188.254.254
/ip hotspot
add address-pool=pool1 disabled=no idle-timeout=none interface=wlan2 name=hs-server-2ghz profile=hs-server-profile-2ghz
/ip address
add address=192.168.254.2/24 comment=wan interface=ether1 network=192.168.254.0
add address=192.188.254.254/24 comment=pre-auth-network-2ghz interface=wlan2 network=192.188.254.0
add address=172.168.254.254/24 comment=post-auth-network-2ghz interface=wlan2 network=172.168.254.0
/ip dhcp-server network
add address=192.188.254.254/32 dns-server=8.8.8.8,192.168.254.2 gateway=192.168.254.254 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=accept chain=hs-pre-auth comment="limit unauthorized hotspot clients" disabled=yes
add action=jump chain=forward comment="limit access for unauthorized hotspot clients" disabled=yes jump-target=hs-pre-auth src-address=192.188.254.0/24
add action=accept chain=hs-input comment="accept requests for hotspot servlet (port 80)" disabled=yes protocol=tcp src-address=192.188.254.0/24
add action=accept chain=hs-input comment="accept requests for hotspot servlet (port 443)" disabled=yes dst-port=443 protocol=tcp src-address=192.188.254.0/24
add action=accept chain=hs-input comment="accept requests from local dhcp server" disabled=yes dst-port=67 protocol=udp src-address=192.188.254.0/24
add action=jump chain=hs-input comment="limit access for unauthorized hotspot clients" disabled=yes jump-target=hs-pre-auth
add action=return chain=hs-pre-auth comment="allow ping requests" disabled=yes protocol=icmp
add action=return chain=hs-pre-auth comment="allow dns requests" disabled=yes dst-port=53 protocol=udp
add action=reject chain=hs-pre-auth comment="reject access for unauthorized hotspot clients" disabled=yes reject-with=icmp-network-unreachable
add action=accept chain=hotspot comment="account authorized hotspot clients" disabled=yes
add action=jump chain=forward comment="account traffic for authorized hotspot clients" disabled=yes jump-target=hotspot
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here"
add action=masquerade chain=srcnat comment="masquerade hotspot pre-auth network" src-address=192.188.254.0/24
add action=redirect chain=dstnat comment="redirect pre-auth hotspot clients to hotspot service (port 80)" dst-port=80 protocol=tcp src-address=\
192.188.254.0/24 to-ports=80
add action=redirect chain=dstnat comment="redirect pre-auth hotspot clients to hotspot service (port 443)" dst-port=443 protocol=tcp src-address=\
192.188.254.0/24 to-ports=80
/ip hotspot user
add name=ganja password=1234
/ip hotspot walled-garden
add comment="place hotspot rules here"
/ip hotspot walled-garden ip
add action=accept disabled=no !dst-address !dst-address-list !dst-port !protocol server=hs-server-2ghz !src-address !src-address-list
/ip route
add distance=1 gateway=192.168.254.254
add distance=1 dst-address=192.168.254.13/32 gateway=ether1
add distance=1 dst-address=192.168.254.254/32 gateway=ether1
/system identity
set name=nas-1
/system routerboard settings
set cpu-frequency=333MHz