EretuPay Docs
Parcours API · Dernière étape

Autoriser le portail (walled garden)

Sans ces règles, le téléphone sur le hotspot ne peut pas ouvrir le portail https://wifi.eretupay.com avant de s’authentifier.

Dernière étape technique
Après le walled garden, testez avec un téléphone sur le hotspot (forfait gratuit de préférence).

HTTPS — hostname + IP

1. Hostname (onglet Walled Garden)

  1. IP → Hotspot → Walled Garden.
  2. Onglet Walled Garden → bouton +.
  3. Dst. Host : wifi.eretupay.com · Action : allow.

2. IP publique (onglet IP)

  1. Même fenêtre → onglet IP → bouton +.
  2. Dst. Address : x.x.x.x/32 · Action : accept.
  3. Pour trouver l’IP : dig +short wifi.eretupay.com A

Si « Dst. Address » est impossible à saisir

Utilisez le Terminal Winbox :

/ip hotspot walled-garden add dst-host="wifi.eretupay.com" action=allow comment="eretupay-wifi"
/ip hotspot walled-garden ip add action=accept dst-address=VOTRE_IP_PUBLIQUE/32 comment="eretupay-wifi"
/ip hotspot walled-garden ip print

Vérifier

  1. Téléphone sur le hotspot, sans login MikroTik.
  2. Ouvrez https://wifi.eretupay.com/p/{slug}.
  3. La page du portail doit s’afficher.