Good evening , I have a rb750 with pppoe server .
I would make sure that customers pppoe in delay of payment have a warning when opening the browser , I would like that this notice is presented every 2 hours.
I tried this :
/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=02:00:00
/ip proxy set enabled=yes
/ip proxy access
add action=deny disabled=no redirect-to=“http://my.server.com/payment-reminder.html”
taken from here:
http://wiki.mikrotik.com/wiki/Payment_Reminders
It works , but the warning is only displayed the first time, even after several hours the warning is not displayed. How could I solve the problem?
Or I could use some other alternative to do this ?