FR | EN

Ticket WiFi Zone

MikroTik Configuration

Follow these steps to authorize payments on your WiFi network. This allows your customers to purchase tickets independently, even if they don't have an internet connection yet.

1

Open Winbox

Connect to your MikroTik router via the Winbox software.

2

Open Terminal

In the left menu, click on "New Terminal".

3

Copy and Paste the code

Copy the script below, paste it into the terminal and press Enter.

MikroTik Script
# ==========================================
# Script Walled Garden - Ticket WiFi Zone
# ==========================================

# 1. Nettoyage des anciennes règles TWZ
/ip hotspot walled-garden remove [find comment="twz-auto-wg"]
/ip hotspot walled-garden ip remove [find comment="twz-auto-wg"]

# 2. Autorisations Générales (Host)
/ip hotspot walled-garden add dst-host="*ticketwifizone.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*paydunya.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*pawapay.io*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*fedapay.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*moneroo.io*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*ligdicash.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*cinetpay.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*yengapay.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*wave.com*" action=allow comment="twz-auto-wg"
/ip hotspot walled-garden add dst-host="*galaxieteam.com*" action=allow comment="twz-auto-wg"

# 3. Autorisations Spécifiques (IP List)
/ip hotspot walled-garden ip add dst-host="paydunya.com" action=accept comment="twz-auto-wg"
/ip hotspot walled-garden ip add dst-host="checkout.moneroo.io" action=accept comment="twz-auto-wg"
/ip hotspot walled-garden ip add dst-host="checkout.yengapay.com" action=accept comment="twz-auto-wg"