السكربت الجاهز (انسخ والصق في الـ Terminal):
اضغط على زر "انشاء السكربت" لعرض الكود وتوليده هنا.
معاينة صفحة الانتهاء (error.html):
تنبيه: اشتراك منتهي!
عميلنا العزيز، نود إعلامك بأن خدمة الإنترنت معلقة حالياً بسبب تأخر السداد. يرجى المبادرة بدفع الفاتورة لضمان عودة الخدمة. شكراً لتفهمكم.
للتواصل مع الدعم الفني: 0100000000
طريقة الاستخدام:
- اضغط على زر تحميل ملف error.html ثم قم برفع الملف للراوتر من خلال Winbox (قائمة Files) بداخل مجلد
webproxy/. - لتفعيل صفحة الانتهاء لأي مستخدم، قم بتغيير الـ Profile الخاص به إلى EXPIRED (ينطبق على Hotspot أو PPPoE).
- لتوجيه المستخدم يدويًا (Static-IP)، قم بإضافة عنوان الـ IP الخاص به في Firewall -> Address Lists باسم EXPIRED.
سكربت حذف كافة الإعدادات (في حال أردت الإلغاء):
/ip proxy set enabled=no
/ip pool remove [find comment="EXPIRED By Script"]
/ip firewall nat remove [find comment="EXPIRED By Script"]
/ip firewall filter remove [find comment="EXPIRED By Script"]
/ip firewall address-list remove [find comment="EXPIRED By Script"]
/ppp profile remove [find comment="EXPIRED By Script"]
/ip proxy access remove [find comment="EXPIRED By Script"]
/ip hotspot walled-garden ip remove [find comment="EXPIRED By Script"]
/ip hotspot user profile remove [find name="EXPIRED"]
/ip address remove [find comment="EXPIRED By Script"]
/ip pool remove [find comment="EXPIRED By Script"]
/ip firewall nat remove [find comment="EXPIRED By Script"]
/ip firewall filter remove [find comment="EXPIRED By Script"]
/ip firewall address-list remove [find comment="EXPIRED By Script"]
/ppp profile remove [find comment="EXPIRED By Script"]
/ip proxy access remove [find comment="EXPIRED By Script"]
/ip hotspot walled-garden ip remove [find comment="EXPIRED By Script"]
/ip hotspot user profile remove [find name="EXPIRED"]
/ip address remove [find comment="EXPIRED By Script"]