I had a hotspot running for a month or so with no problems, using a RB532 and RouterOS 2.9.20. Since last week, though, following a reboot, the captive-portal HTTP redirection is no longer working.
Clients still receive a valid (private) IP address from the Routerboard's DHCP server, and DNS lookups work, but on attempting to reach any web site the browser gives "Connection Refused", or "Page cannot be displayed" (tcpdump on a laptop client running Linux shows an RST packet coming back in response to any port-80 connection). Not even designated walled-garden sites can be reached. Entering the hotspot's IP address manually in the browser does bring up the login page, though, but other URLs aren't redirected as they should be.
If I go to /ip hotspot and "set 0 disabled=yes", everything works fine-- no issues surfing or accessing other Internet services, but of course the AP is wide open then, with no captive-portal splash screen or login process.
Any ideas? Nothing was changed under /ip hotspot since it was last working... I did make some routing changes prior to the reboot, moving the uplink from Ether1 to Ether2, adding some static routes and an IPIP tunnel, etc., but nothing that should have affected the hotspot. Other traffic passing through the same RB532 is still OK.
Going through the /ip hotspot setup dialog again doesn't help... same problem every time.
Are there any known Hotspot issues in 2.9.20 that might be fixed in a newer RouterOS?
Here's an (export) dump of relevant configuration areas:
Code: Select all
# jun/28/2006 11:01:12 by RouterOS 2.9.20
# software id = 4I8R-3TT
#
/ ip hotspot
add name="hotspot1" interface=wlan1 address-pool=hs-pool-4 profile=hsprof2 \
idle-timeout=5m keepalive-timeout=none addresses-per-mac=2 disabled=no
/ ip hotspot service-port
set ftp ports=21 disabled=no
/ ip hotspot profile
set default name="default" hotspot-address=10.65.64.1 \
dns-name="hotspot1.____.com" html-directory=hotspot rate-limit="" \
http-proxy=0.0.0.0:0 smtp-server=__________ login-by=cookie,http-pap \
http-cookie-lifetime=3d split-user-domain=no use-radius=no
add name="hsprof2" hotspot-address=10.65.64.1 dns-name="hotspot1.____.com" \
html-directory=hotspot rate-limit="" http-proxy=0.0.0.0:0 \
smtp-server=__________ login-by=cookie,http-pap http-cookie-lifetime=3d \
split-user-domain=no use-radius=no
/ ip hotspot user
add name="hsadmin" password="_________" profile=hsuserprf1 comment="" \
disabled=no
add name="guest" password="" profile=hsuserprf1 comment="" disabled=no
/ ip hotspot user profile
set default name="default" idle-timeout=none keepalive-timeout=2m \
status-autorefresh=1m shared-users=50 transparent-proxy=no
add name="hsuserprf1" idle-timeout=none keepalive-timeout=2m \
status-autorefresh=1m shared-users=1 transparent-proxy=yes \
open-status-page=always advertise=no
/ ip hotspot walled-garden
add dst-host=________ path=* action=allow comment="" disabled=no
add dst-host=_________ path=* action=allow comment="" disabled=no
add dst-host=________ action=allow comment="" disabled=no
add dst-host=______ path=* action=allow comment="" disabled=no
Code: Select all
# jun/28/2006 11:06:46 by RouterOS 2.9.20
# software id = 4I8R-3TT
#
/ ip firewall nat
add chain=srcnat src-address=10.65.64.0/24 action=masquerade \
comment="masquerade hotspot network" disabled=no
/ ip firewall connection tracking
set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s \
tcp-established-timeout=1d tcp-fin-wait-timeout=10s \
tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s \
tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s \
udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m \
tcp-syncookie=no
/ ip firewall filter
/ ip firewall service-port
set ftp ports=21 disabled=no
set tftp ports=69 disabled=no
set irc ports=6667 disabled=no
set h323 disabled=yes
set quake3 disabled=no
set mms disabled=no
set gre disabled=yes
set pptp disabled=yes