192.168.1.1 (gateway utama)
Jangan gunakan 3128 atau 8080
Dapat Menggunakan Tag HMTL
###############################################################
# NOTIFICATION EXPIRED FOR HOTSPOT, PPPOE AND STATIC IP WITH PROXY
# Date/Time:
# Created By: MikTool
###############################################################
/ip proxy set enabled=yes max-cache-size=none port=8082
/ip proxy access
add action=allow dst-port=8082 comment="Expired by MikTool"
add action=deny redirect-to=192.168.1.1:8082 comment="Expired by MikTool" dst-port=80
/ip firewall address-list
add list=EXPIRED address=0.0.0.0 comment="Expired by MikTool"
/ip firewall filter
/ip firewall filter add action=drop chain=forward comment="Expired by MikTool" dst-port=!80,8082 protocol=tcp src-address-list=EXPIRED
/ip firewall filter add action=drop chain=forward comment="Expired by MikTool" dst-port=!53,5353 protocol=udp src-address-list=EXPIRED
/ip firewall nat
add chain=dstnat src-address-list=EXPIRED protocol=tcp action=redirect to-ports=8082 comment="Expired by MikTool"
/ppp profile
add address-list=EXPIRED comment="Expired by MikTool" name=EXPIRED on-down=":local username \$\"user\";\r\ \n/ip proxy access remove [find comment=\"ppp-\$username\"];\r\ \n/ip firewall address-list remove [find comment=\"ppp-\$username\"];" on-up=":local username \$\"user\";\r\ \n:local address \$\"remote-address\";\r\ \n/ip proxy access add action=deny src-address=\$address comment=\"ppp-\$username\";\r\ \n/ip firewall address-list add list=EXPIRED address=\$address comment=\"ppp-\$username\""
/ip hotspot user profile
add add-mac-cookie=no address-list=EXPIRED !mac-cookie-timeout name=EXPIRED on-login=":local username \$\"user\";\r\ \n:local ipaddress \$\"address\";\r\ \n/ip proxy access add action=deny src-address=\$ipaddress comment=\"hs-\$username\";\r\ \n/ip firewall address-list add list=EXPIRED address=\$address comment=\"hs-\$username\"" on-logout=":local username \$user;\r\ \n/ip hotspot cookie remove [find user=\$username]\r\ \n/ip proxy access remove [find comment=\"hs-\$username\"]\r\ \n/ip firewall address-list remove [find comment=\"hs-\$username\"];" shared-users=50
# NOTIFICATION EXPIRED FOR HOTSPOT, PPPOE AND STATIC IP WITH PROXY
# Date/Time:
# Created By: MikTool
###############################################################
/ip proxy set enabled=yes max-cache-size=none port=8082
/ip proxy access
add action=allow dst-port=8082 comment="Expired by MikTool"
add action=deny redirect-to=192.168.1.1:8082 comment="Expired by MikTool" dst-port=80
/ip firewall address-list
add list=EXPIRED address=0.0.0.0 comment="Expired by MikTool"
/ip firewall filter
/ip firewall filter add action=drop chain=forward comment="Expired by MikTool" dst-port=!80,8082 protocol=tcp src-address-list=EXPIRED
/ip firewall filter add action=drop chain=forward comment="Expired by MikTool" dst-port=!53,5353 protocol=udp src-address-list=EXPIRED
/ip firewall nat
add chain=dstnat src-address-list=EXPIRED protocol=tcp action=redirect to-ports=8082 comment="Expired by MikTool"
/ppp profile
add address-list=EXPIRED comment="Expired by MikTool" name=EXPIRED on-down=":local username \$\"user\";\r\ \n/ip proxy access remove [find comment=\"ppp-\$username\"];\r\ \n/ip firewall address-list remove [find comment=\"ppp-\$username\"];" on-up=":local username \$\"user\";\r\ \n:local address \$\"remote-address\";\r\ \n/ip proxy access add action=deny src-address=\$address comment=\"ppp-\$username\";\r\ \n/ip firewall address-list add list=EXPIRED address=\$address comment=\"ppp-\$username\""
/ip hotspot user profile
add add-mac-cookie=no address-list=EXPIRED !mac-cookie-timeout name=EXPIRED on-login=":local username \$\"user\";\r\ \n:local ipaddress \$\"address\";\r\ \n/ip proxy access add action=deny src-address=\$ipaddress comment=\"hs-\$username\";\r\ \n/ip firewall address-list add list=EXPIRED address=\$address comment=\"hs-\$username\"" on-logout=":local username \$user;\r\ \n/ip hotspot cookie remove [find user=\$username]\r\ \n/ip proxy access remove [find comment=\"hs-\$username\"]\r\ \n/ip firewall address-list remove [find comment=\"hs-\$username\"];" shared-users=50
EXPIRE!
PELANGGAN YANG TERHORMAT, KAMI INFOKAN BAHWA LAYANAN INTERNET ANDA SAAT INI DIHENTIKAN. SILAHKAN MELAKUKAN PEMBAYARAN TAGIHAN MELALUI REKENING YANG KAMI SEDIAKAN. AGAR LAYANAN INTERNET TETAP AKTIF, ANDA DIMINTA MELAKUKAN PEMBAYARAN SEBELUM TANGGAL SETIAP BULAN.
Hubungi Admin: +62813-2222-3333
PELANGGAN YANG TERHORMAT, KAMI INFOKAN BAHWA LAYANAN INTERNET ANDA SAAT INI DIHENTIKAN. SILAHKAN MELAKUKAN PEMBAYARAN TAGIHAN MELALUI REKENING YANG KAMI SEDIAKAN. AGAR LAYANAN INTERNET TETAP AKTIF, ANDA DIMINTA MELAKUKAN PEMBAYARAN SEBELUM TANGGAL SETIAP BULAN.
Hubungi Admin: +62813-2222-3333
1. Download error.html dan upload ke winbox di "File" ke folder webproxy "webproxy/error.html"
2. Untuk Aktifkan halaman kadaluwarsa cukup atur Profil Anda ke "EXPIRED" di Hotspot atau PPPoE di Winbox, Jangan gunakan Expired untuk Voucher Hotspot, Anda hanya dapat menggunakan untuk Hotspot bulanan.
3. Anda dapat mengatur halaman kedaluwarsa manual untuk IP Statis, cukup masukkan IP pengguna di Firewall -> Address Lists -> EXPIRED
# Script Untuk Menghapus Script Generator!
/ip proxy set enabled=no port=8080 max-cache-size=none
/ip firewall nat remove [find comment="Expired by MikTool"]
/ip firewall filter remove [find comment="Expired by MikTool"]
/ip firewall address-list remove [find comment="Expired by MikTool"]
/ppp profile remove [find comment="Expired by MikTool"]
/ip proxy access remove [find comment="Expired by MikTool"]
/ip address remove [find comment="Expired by MikTool"]
/ip firewall nat remove [find comment="Expired by MikTool"]
/ip firewall filter remove [find comment="Expired by MikTool"]
/ip firewall address-list remove [find comment="Expired by MikTool"]
/ppp profile remove [find comment="Expired by MikTool"]
/ip proxy access remove [find comment="Expired by MikTool"]
/ip address remove [find comment="Expired by MikTool"]