Konekte bòn ou a ak Wibizpro epi kòmanse vann aksè WiFi nan kèk minit.
Nan RouterOS, ouvri New Terminal epi kole blòk sa a jan li ye :
# 1. RADIUS — this site's own secret /radius add address=144.202.47.181 secret=rad_xxx service=hotspot \ authentication-port=1812 accounting-port=1813 # 2. DNS — two settings that are NOT the same thing. # a) The router must answer its CLIENTS. Without this the portal # never appears: the hotspot works by intercepting DNS. /ip dns set allow-remote-requests=yes # b) The router's OWN upstream resolver. 8.8.8.8 is fine HERE — it is # the router asking, not the clients. A factory router already # learns one from the ISP; this line just makes it explicit. /ip dns set servers=8.8.8.8,1.1.1.1 # 3. Address pool for the clients /ip pool add name=wibizpro-pool ranges=192.168.88.10-192.168.88.254 # 4. Hotspot profile /ip hotspot profile add name=wibizpro hotspot-address=192.168.88.1 \ dns-name=wifi.local use-radius=yes radius-accounting=yes \ radius-interim-update=1m login-by=mac,http-pap # 5. Hotspot, on the bridge the access points are wired to /ip hotspot add name=wibizpro interface=bridge \ address-pool=wibizpro-pool profile=wibizpro disabled=no # 6. THE CAPTIVE LOGIN PAGE — this is where your Portal URL goes. # Without this step the client sees the ROUTER's own login page and # your portal never appears. Run it after step 5 (the hotspot # creates the file). # $(mac-esc) is filled in by the router for each client — leave it # exactly as written, backslash included. /file set [find name~"login.html"] contents="<html><body><script>window.location.href='https://wipay.online/portal/?token=dt_your-site-token&clientMac=\$(mac-esc)'</script></body></html>"wibizpro ak wibizpro-pool se jis non. Nenpòt non fonksyone, depi li menm toupatou nan blòk la.192.168.88.x se rezo faktori MikroTik. Si rezo w lan sèvi ak yon lòt plaj, chanje kat adrès yo — pool la, adrès hotspot la, ak de referans pwofil yo.bridge se entèfas hotspot la mache sou li — kote pwen aksè ou yo branche. Si pa w lan gen yon lòt non, sèvi ak li.8.8.8.8 byen bon laba. Sa ki enpòtan se ke kliyan yo mande routeur la, pa yon rezolvè piblik dirèkteman. Pa janm bay kliyan yo 8.8.8.8.login.html hotspot la pou kliyan an ale sou paj ou a olye de paj koneksyon RouterOS la. Si kòmand la refize kouri — kèk vèsyon firmwèr pa renmen guillemèt yo — fè l alamen : nan Winbox, Files → dosye hotspot la → ouvri login.html epi ranplase tout sa ki ladan l ak sa a (kenbe $(mac-esc) egzakteman jan li ye — se routeur la ki ranpli l) :
<html><body><script>window.location.href='https://wipay.online/portal/?token=dt_your-site-token&clientMac=$(mac-esc)'</script></body></html>
Ranplase rad_xxx ak sekrè sit ou. Hotspot la viv sou routeur la — pa janm sou pwen aksè yo.
Paj koneksyon captive a, tinèl WireGuard la ak operasyon CoA yo detaye nan gid konplè a : docs/mikrotik-site-setup.md
Kliyan ki pa peye yo bloke jiskaske yo otantifye — ansanm ak paj Wibizpro a li menm. Pèmèt li nan jaden klò a :
/ip hotspot walled-garden add dst-host=wibizpro.online action=allow add dst-host=*.wibizpro.online action=allow /ip hotspot walled-garden ip add action=accept dst-host=wibizpro.online add action=accept dst-address=144.202.47.181Pèmèt tou non domèn founisè peman ou yo, ak pwen deteksyon pòtay Apple (17.0.0.0/8 ak *captive.apple.com) — san yo, iPhone pa janm montre paj koneksyon an.
Tout mak fonksyone — pwen aksè yo se pon transparan. Sou chak :
Yon fwa konfigire, men sa kliyan ou yo ap viv:
Kliyan ki ekspire yo dekonekte otomatikman nan fen egzak pas yo a.
Ou ka touche lajan sou plizyè rezo yon fason diferan — tout depi yon sèl dashboard Wibizpro :
Egzanp:
| SSID | URL pòtay la | Pri |
|---|---|---|
| GuestWiFi | /portal/?token=dt_guest |
$1–$25 USD |
| Premium | /portal/?token=dt_prem |
$5–$100 USD |
| Staff | Pa gen pòtay | Gratis |
SSID yo ka pataje menm materyèl la — pa bezwen ekipman anplis. Revni chak swiv separeman nan dashboard Wibizpro ou.
Pwen aksè TP-Link Omada otonòm yo toujou sipòte. Si w gen youn k ap mache deja, men konfigirasyon li — li pa chanje.
Nan onglet Wireless → Portal bòn ou a (egz. EAP110), ranpli egzakteman valè sa yo :
Nan onglet Wireless → Portal, ouvri politik otantifikasyon lib la epi ajoute :
Chak antre bezwen yon non — egz. Wibizpro-80, Wibizpro-443, DNS.
Antre chak adrès nan chan Destination an, ak pò li nan Destination Port — pa janm nan Source. Politik la se lis kote kliyan yo GEN DWA ale anvan yo peye, kidonk adrès la ale sou bò destinasyon an.
Pi bon toujou : kenbe pwen aksè a epi mete yon routeur MikroTik devan l kòm pòtay. EAP110 ou kontinye fonksyone — mete l an mòd bridge, fèmen pòtay li ak RADIUS li, epi swiv senk etap anwo yo pito.
Wibizpro kenbe pòtay kaptif la pou ou. Nou okipe:
Tablodbò Wibizpro ou a ba ou yon vizibilite konplè: