Problem: Hotspot page takes forever to appear and timesout most of the time.
I do get an IP on the client machine however the hotspot page takes a very long IF it decides to appear. 99% of the time the hotspot page does NOT appear.
Heres the configuration I have:
first the interfaces:
Code: Select all
[paul@MikroTik] /interface> print
Flags: X - disabled, R - running, D - dynamic, S - slave
# NAME TYPE MTU
0 R eth1-builtin-INET-IN ether 1500
1 R eth2-EXT-INET-OUT ether 1500
2 R wlan1 wlan 1500
[paul@MikroTik] /interface>
Code: Select all
[paul@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 ;;; INET IN card
10.223.167.99/27 10.223.167.96 10.223.167.127 eth1-builtin-INET-IN
1 ;;; hotspot network
10.5.50.1/24 10.5.50.0 10.5.50.255 eth2-EXT-INET-OUT
2 172.16.0.1/16 172.16.0.0 172.16.255.255 wlan1
[paul@MikroTik] /ip address>
Code: Select all
[paul@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE
0 A S 0.0.0.0/0 reachable 10.223.167.97 1 eth1-builtin-INET-IN
reachable eth2-EXT-INE... eth2-EXT-INET-OUT
1 ADC 10.5.50.0/24 10.5.50.1 0 eth2-EXT-INET-OUT
2 ADC 10.223.167.96/27 10.223.167.99 0 eth1-builtin-INET-IN
3 ADC 172.16.0.0/16 172.16.0.1 0 wlan1
[paul@MikroTik] /ip route>
Code: Select all
[paul@MikroTik] /ip hotspot> print
Flags: X - disabled, I - invalid, S - HTTPS
# NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0 hotspot1 eth2-E... hs-pool-2 hsprof1 5m
1 wlanHOTSPOT wlan1 hs-pool-2 hsprof1 5m
[paul@MikroTik] /ip hotspot>
Code: Select all
[paul@MikroTik] /ip hotspot profile> print
Flags: * - default
0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot rate-limit=""
http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d
split-user-domain=no use-radius=no
1 name="hsprof1" hotspot-address=10.5.50.1 dns-name="" html-directory=hotspot rate-limit=""
http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d
split-user-domain=no use-radius=no
[paul@MikroTik] /ip hotspot profile>
Code: Select all
[paul@MikroTik] /ip hotspot profile> /ip dhcp-server
[paul@MikroTik] /ip dhcp-server> print
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 eth-ips eth2-E... hs-pool-2 1h
1 wlan-IPs wlan1 hs-pool-2 1h
[paul@MikroTik] /ip dhcp-server>
Code: Select all
[paul@MikroTik] /ip pool> print
# NAME RANGES
0 hs-pool-2 10.5.50.2-10.5.50.254
[paul@MikroTik] /ip pool>
Code: Select all
[paul@MikroTik] /ip firewall nat> print all
Flags: X - disabled, I - invalid, D - dynamic
0 D chain=dstnat action=jump jump-target=hotspot hotspot=from-client
1 I chain=hotspot action=jump jump-target=pre-hotspot
2 D chain=hotspot action=redirect to-ports=64872 dst-port=53 protocol=udp
3 D chain=hotspot action=redirect to-ports=64872 dst-port=53 protocol=tcp
4 D chain=hotspot action=redirect to-ports=64873 hotspot=local-dst dst-port=80 protocol=tcp
5 D chain=hotspot action=redirect to-ports=64875 hotspot=local-dst dst-port=443 protocol=tcp
6 D chain=hotspot action=jump jump-target=hs-unauth hotspot=!auth protocol=tcp
7 D chain=hotspot action=jump jump-target=hs-auth hotspot=auth protocol=tcp
8 D chain=hs-unauth action=redirect to-ports=64874 dst-port=80 protocol=tcp
9 D chain=hs-unauth action=redirect to-ports=64874 dst-port=3128 protocol=tcp
10 D chain=hs-unauth action=redirect to-ports=64874 dst-port=8080 protocol=tcp
11 D chain=hs-unauth action=redirect to-ports=64875 dst-port=443 protocol=tcp
12 I chain=hs-unauth action=jump jump-target=hs-smtp dst-port=25 protocol=tcp
13 D chain=hs-auth action=redirect to-ports=64874 hotspot=http protocol=tcp
14 I chain=hs-auth action=jump jump-target=hs-smtp dst-port=25 protocol=tcp
15 X ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough
16 ;;; masquerade hotspot network
chain=srcnat action=masquerade src-address=10.5.50.0/24
pls help