Hi,
I am looking for help on a script to inform customers their usage is approaching monthly bandwidth allowance limit, at present I have setup Payment Reminder which is working great and would like to modify the manage configuration to show bandwidth allowance limit webpage for say every hour duration 30seconds and then back to normal browsing, below is the 4hour payment reminder .
/ip firewall mangle
add chain=prerouting connection-state=new src-address-list=payment_reminder protocol=tcp dst-port=80 \
action=mark-connection new-connection-mark=potential_payment_reminder passthrough=yes
add chain=prerouting connection-mark=potential_payment_reminder src-address-list=!has_seen_reminder \
action=mark-connection new-connection-mark=payment_reminder
/ip firewall nat
add chain=dstnat connection-mark=payment_reminder protocol=tcp action=redirect to-ports=8080
/ip firewall filter
add chain=input connection-mark=payment_reminder action=add-src-to-address-list \
address-list=has_seen_reminder address-list-timeout=04:00:00 passthrough=yes