Script

Hi all,

I need to create a script that disconnects all PPPoE users at 12:01 (just after midnight) on the third day of the month.
if the customer open any page it must go login.html

plz i need solution…



thx all,

There’s a couple of things you’re asking here that need to be clarified:

  1. You want it to log out all pppoe users
  2. You want it to redirect users to a login page

These 2 cannot work together, if someone is using pppoe and you’re forcibly disconnecting them they won’t be able to get to any page.
If you however disconnect them and on relogin apply a filter ID to the users pointing to some dst-nat rules redirecting traffic to a specific website this will work.

Or is the redirect bit you’re talking about for hotspot users on the same device?

…If "I want the third day of the month to open any page become a www.global-net.com/recharge
This letter just to remind the customer to pay..

i need help plzzz

wouldn’t it be better to open this page only to those who have not paid? there is a script for it:

http://wiki.mikrotik.com/wiki/Payment_Reminders