Mikrotik hotspot по логину/паролю на разных устройствах

Обсуждение оборудования и его настройки
Ответить
baide
Сообщения: 1
Зарегистрирован: 24 окт 2014, 13:24

1. Не удается реализовать настройку в режиме hotspot на rb750 таким образом, чтобы авторизация происходила по логину-паролю, возможно использование одного и того же логина на нескольких устройствах, но не одновременно.
2. Различные настройки авторизации, изменение значения параметра shared user. Если 1 - то сообщение "no more sessions are allowed for user ***", если больше - то работают одновременно все устройства.
3.
 
# oct/29/2014 12:56:00 by RouterOS 6.20
# software id = E9J7-YPKA
#
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] name=ether3-hotspot
set [ find default-name=ether5 ] name=ether5-management
/ip neighbor discovery
set ether1-gateway discover=no
/ip hotspot profile
add hotspot-address=10.10.10.1 login-by=http-chap name=hsprof1
/ip hotspot user profile
set [ find default=yes ] shared-users=2
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=hs-pool-3 ranges=10.10.10.100-10.10.10.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=ether2-master-local name=\
default
add address-pool=hs-pool-3 disabled=no interface=ether3-hotspot lease-time=1h \
name=dhcp1
/ip hotspot
add address-pool=hs-pool-3 disabled=no interface=ether3-hotspot name=hotspot1 \
profile=hsprof1
/system logging action
set 2 remember=yes
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=\
ether2-master-local network=192.168.88.0
add address=185.5.143.102/24 interface=ether1-gateway network=185.5.143.0
add address=172.17.86.99/24 interface=ether5-management network=172.17.86.0
add address=10.10.10.1/24 comment="hotspot network" interface=ether3-hotspot \
network=10.10.10.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=\
no interface=ether1-gateway
/ip dhcp-server network
add address=10.10.10.0/24 comment="hotspot network" gateway=10.10.10.1
add address=192.168.88.0/24 comment="default configuration" dns-server=\
192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=185.5.143.1,8.8.8.8
/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 chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-gateway
add chain=forward comment="default configuration" connection-state=\
established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=ether1-gateway
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=10.10.10.0/24
/ip hotspot user
add name=vasily password=12345678
/ip route
add distance=1 gateway=185.5.143.1
/ip upnp
set allow-disable-external-interface=no
/snmp
set trap-community=public
/system clock
set time-zone-name=Asia/Yekaterinburg
/system clock manual
set dst-delta=+05:00 time-zone=+05:00
/system ntp client
set enabled=yes primary-ntp=172.17.86.1
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-hotspot
add interface=ether4
add interface=ether5-management
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-hotspot
add interface=ether4
add interface=ether5-management

4. Мануалы и всяческие хау-ту прочитал, ответа не нашел.




udp: web 29 11:59
исправил пост согласно правилам


Ответить