Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Через консоль:

/interface bridge add name=Hotspot_clients disabled=no comment="Hotspot clients bridge"
/interface bridge port add bridge=Hotspot_clients interface=wlan1
/interface wireless set wlan1 bridge-mode=enabled mode=bridge band=2ghz-b/g/n wireless-protocol=802.1

Установим Hotspot:

/ip hotspot setup
Select interface to run HotSpot on 

hotspot interface: Hotspot_clients
Set HotSpot address for interface 

local address of network: 10.0.0.1/16    
masquerade network: yes
Set pool for HotSpot addresses 

address pool of network: 10.0.0.3-10.0.255.254    
Select hotspot SSL certificate 

select certificate: none                    
Select SMTP server 

ip address of smtp server: 0.0.0.0
Setup DNS configuration 

dns servers: 8.8.8.8
DNS name of local hotspot server 

dns name: 
Create local hotspot user 

name of local hotspot user: admin
password for the user: admin

/ip hotspot profile set hsprof1 use-radius=yes
/radius set timeout=00:00:01 numbers=0

/ip hotspot profile set [find name=hsprof1] login-by=cookie,http-chap,http-pap

Открываем доступ для билинга и различных адресов из интернета:

 /ip hotspot walled-garden ip add dst-address=8.8.8.8 comment="DNS Allowed"
 /ip hotspot walled-garden ip add dst-address=8.8.4.4
 /ip hotspot walled-garden ip add dst-address=10.0.0.2 comment="Access to ABillS Server"
 /ip hotspot walled-garden add dst-host=webmoney.ru comment="Access to Webmoney.ru"

Подключаем внешний Radius сервер в настройках Mikrotik:

/radius add address=10.0.0.2 secret=radsecret service=hotspot

После этого в билинге нужно Добавить сервер доступа Mikrotik

Создайте линк на стартовую страницу:

ln -s /usr/abills/Abills/modules/Hotspot/start.cgi /usr/abills/cgi-bin/start.cgi

Через Winbox:

  • No labels