Hi,
Currently I’m having a problem. The hotspot that was working normally but suddenly all the user cannot access the internet. I can see some IP in the Hosts, but they cannot access the login page at all. I didn’t change any setting, just change the rate limit. This problem first appeared last night until this morning, and the all the users can use the hotspot without problems. Currently the problem appears again.
UPDATE: The problem appeared again last night and now the hotspot working normally in the morning. I expect this will happen again tonight. I don’t know what is the problem. 2 days ago I only change the rate limit for the user profile and the server profile.
[admin@MikroTik] > /export compact
# sep/26/2019 20:28:28 by RouterOS 6.38.1
# software id = QLXZ-9EXW
#
/interface ethernet
set [ find default-name=ether3 ] master-port=ether2
set [ find default-name=ether4 ] master-port=ether2
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
add dns-name=pondok.cattleya.hotspot hotspot-address=192.168.2.1 html-directory=\
flash/hotspot login-by=cookie,http-chap,http-pap name=hsprof2 rate-limit=\
2M/20M
/ip hotspot user profile
set [ find default=yes ] shared-users=10
add name="ANak Kosan" rate-limit=1M/2M shared-users=2
add name=pekerja rate-limit=512k/512k transparent-proxy=yes
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/ip pool
add name=hs-pool-2 ranges=192.168.2.2-192.168.2.255
/ip dhcp-server
add address-pool=hs-pool-2 disabled=no interface=ether2 lease-time=1d name=\
dhcp_kostan
/ip hotspot
add address-pool=hs-pool-2 disabled=no interface=ether2 name=hotspot1 profile=\
hsprof2
/ip hotspot user profile
add address-pool=hs-pool-2 idle-timeout=2m mac-cookie-timeout=1d name=TAMU \
rate-limit=512K/512K session-timeout=30m shared-users=50 transparent-proxy=\
yes
/ip hotspot profile
add html-directory=flash/hotspot login-by=http-chap,http-pap,trial,mac-cookie \
name=GUEST trial-uptime-limit=1h trial-user-profile=TAMU
/queue simple
add max-limit=2M/5M name=queue1 target=ether3
add max-limit=2M/5M name=queue2 target=ether4
/system logging action
set 1 disk-file-name=log
/ip address
add address=192.168.2.1/24 comment=DJ interface=ether2 network=192.168.2.0
add address=10.5.50.1/24 comment="hotspot network" interface=ether2 network=\
10.5.50.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=ether1
/ip dhcp-server network
add address=10.5.50.0/24 comment="hotspot network" gateway=10.5.50.1
add address=192.168.2.0/24 comment="hotspot network" gateway=192.168.2.1
add address=192.168.2.0/23 gateway=192.168.2.1
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=10.5.50.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.2.0/24
/ip hotspot ip-binding
add comment="HP 1" disabled=yes mac-address=A8:B8:6E:58:AB:72 type=bypassed