Hey all I'm running MikroTik v6 and trying to setup user manager with hotspot on the same machine.
- I cant logon with user manager created account
i have done the following
/ radius add service=hotspot address=127.0.0.1 secret=123456
/ ip hotspot profile set hsprof1 use-radius=yes
/ tool user-manager customer add login="MikroTik" password="qwerty" permissions=owner
/ tool user-manager router add subscriber=MikroTik ip-address=127.0.0.1 shared-secret=123456
- static assign ip address in the same range machine cant access the hotspot. ie. ip address 172.16.0.4 / 16 cant access but if say dynamic the machine will be able to?
find the configs:
jan/02/1970 05:08:12 by RouterOS 6.0
software id = CM2E-LEB0
/ip hotspot profile
add hotspot-address=172.16.0.1 login-by=http-chap name=hsprof1 use-radius=yes
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
mac-cookie-timeout=3d
/ip pool
add name=hs-pool-1 ranges=172.16.100.1-172.16.255.254
/ip dhcp-server
add address-pool=hs-pool-1 disabled=no interface=ether1 lease-time=1h name=
dhcp1
/ip hotspot
add address-pool=hs-pool-1 addresses-per-mac=1 disabled=no interface=ether1
name=hotspot1 profile=hsprof1
/ip hotspot user profile
add address-pool=hs-pool-1 idle-timeout=none keepalive-timeout=2m
mac-cookie-timeout=3d name=test1 rate-limit=56k/256k
/port
set 0 name=serial0
/tool user-manager customer
add backup-allowed=yes disabled=no login=admin password=""
paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no
permissions=owner signup-allowed=no time-zone=-00:00
add backup-allowed=yes disabled=no login=MikroTik password=qwerty
paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no
permissions=owner signup-allowed=no time-zone=-00:00
add backup-allowed=no disabled=no login=test parent=admin password=test
paypal-accept-pending=no paypal-allowed=no paypal-secure-response=no
permissions=read-only signup-allowed=no time-zone=-00:00
/tool user-manager profile
add name=staff name-for-users="" override-shared-users=1 owner=admin price=0
starts-at=logon validity=0s
add name=students name-for-users="" override-shared-users=off owner=admin
price=0 starts-at=logon validity=0s
/tool user-manager profile limitation
add address-list="" download-limit=0B group-name="" ip-pool="" name=
updownstaff rate-limit-min-rx=271360B rate-limit-min-tx=57344B
rate-limit-rx=271360B rate-limit-tx=57344B transfer-limit=0B
upload-limit=0B uptime-limit=0s
/ip address
add address=172.16.0.1/16 interface=ether1 network=172.16.0.0
add address=192.168.15.252/24 interface=ether2 network=192.168.15.0
/ip dhcp-server network
add address=172.16.0.0/16 comment="hotspot network" gateway=172.16.0.1
/ip dns
set allow-remote-requests=yes servers=172.168.0.1,192.168.1.15
/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 to-addresses=0.0.0.0
add action=masquerade chain=srcnat
add action=masquerade chain=srcnat comment="masquerade hotspot network"
src-address=172.16.0.0/16 to-addresses=0.0.0.0
/ip hotspot user
add name=admin password=admin
add disabled=yes name=test password=test profile=test1
/ip route
add distance=1 gateway=ether2
/radius
add address=127.0.0.1 secret=123456 service=hotspot timeout=3s
/tool user-manager router
add coa-port=1700 customer=MikroTik disabled=no ip-address=127.0.0.1 log=
auth-fail name=router1 shared-secret=123456 use-coa=no
hospotProblemconfigs.rsc (3 KB)