Community discussions

MikroTik App
 
Cameron Earnshaw
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sun May 30, 2004 6:46 pm
Contact:

Redirecting non-paying customers.

Fri Sep 17, 2004 6:06 pm

I want to redirect customers whose accounts are not current to an on-line payment page. I am willing to make the filter entires manually when needed rather than with RADIUS. I tried making a simple dst-nat rule to re-direct specific IP or MAC addresses to my page, but no matter what address I redirect to I instead get redirected to the MT default web page (the same WinBox page that is displayed when you type the IP address of the MT in your browser). I don't see any examples of this in the documentation, but it seems pretty simple. Will I need to use hotspot package to achieve this?

Cameron
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Fri Sep 17, 2004 8:52 pm

To do redirect you should use action="nat", specifying to-dst-address. Action "redirect" redirects all traffic to the router itself.
 
Cameron Earnshaw
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sun May 30, 2004 6:46 pm
Contact:

Sat Sep 18, 2004 12:36 am

Thanks! I just saw that in the archives too.

Cameron