avatar account [E-mail verified status]

NOTIFICATION EXPIRED FOR HOTSPOT, PPPOE AND STATIC IP WITH PROXY

Copy-Paste the Script to your Terminal!
###############################################################
# NOTIFICATION EXPIRED FOR HOTSPOT, PPPOE AND STATIC IP WITH PROXY
# Date/Time:
# Created By: buananet.com - fb.me/buananet.pbun
###############################################################
/ip proxy set enabled=yes max-cache-size=none port=8082
/ip proxy access
add action=allow dst-port=8082 comment="Expired by buananet.com"
add action=deny redirect-to=192.168.1.1:8082 comment="Expired by buananet.com" dst-port=80
/ip firewall address-list
add list=EXPIRED address=0.0.0.0 comment="Expired by buananet.com"
/ip firewall filter
/ip firewall filter add action=drop chain=forward comment="Expired by buananet.com" dst-port=!80,8082 protocol=tcp src-address-list=EXPIRED
/ip firewall filter add action=drop chain=forward comment="Expired by buananet.com" 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 buananet.com"
/ppp profile
add address-list=EXPIRED comment="Expired by buananet.com" 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

Download error.html
EXPIRE!
DEAR CUSTOMERS, WE INFORM YOU THAT YOUR INTERNET SERVICE IS CURRENTLY TERMINATED. PLEASE MAKE BILL PAYMENTS THROUGH THE ACCOUNT WE PROVIDE. IN ORDER TO REMAIN INTERNET SERVICE ACTIVE, YOU ARE REQUESTED TO MAKE PAYMENT BEFORE THE DATE OF EVERY MONTH
Contact Admin: +62813-2222-3333
Please Activate Your Email.
GET PREMIUM ACCESS
PLEASE SUBSCRIBE