Community discussions

MikroTik App
 
daitea
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Sun May 03, 2009 3:17 pm

How do i get a message to the clients web browser prompti...

Mon Jan 04, 2010 6:13 pm

Hi All
i want to prompt the client by redirecting the clients to a page either than the net if they are due to pay their monthly bills.
How do i do this without the client having internet access and have the message stored in the router board?
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: How do i get a message to the clients web browser prompti...

Mon Jan 04, 2010 6:21 pm

Rough steps:

1. be able to identify clients that haven't paid yet somehow (they will be assigned a predictable IP from a certain range only used for those customers, you manually have added them to an address-list).
2. turn on the web proxy and add an access rule that denies all proxying with a redirect to a URL that warns the user about payments
3. transparently proxy users that haven't paid, the proxy will then deny the action and redirect them to the specified URL

If you need the page to be hosted on the RouterBoard, create an empty bridge and run a Hotspot on it, you should then be able to host the page within the Hotspot section and reach it from non-Hotspot networks (though I'm not 100% sure on that).
 
zain
Member Candidate
Member Candidate
Posts: 143
Joined: Fri Jan 01, 2010 7:03 pm

Re: How do i get a message to the clients web browser prompti...

Sat Jan 23, 2010 12:34 pm

can you make a video on that or is their a tut on how to do it
 
randallr
Member Candidate
Member Candidate
Posts: 104
Joined: Fri Oct 13, 2006 1:01 am
Location: Texas

Re: How do i get a message to the clients web browser prompti...

Sat Jan 23, 2010 7:00 pm

I have a MT box as my backbone router, so I can use a NAT Rule under Firewall to redirect them to a webpage.

NAT Rule:
Chain - dstnat
Protocol- tcp
dst port- 1-200 (don't want email etc to work either)
SRC Address List - Suspend
Action - dst-nat
To Address - xx.xx.xx.xx address that is page you want to come up
To Ports - 80

Adress Lists:
Name - Suspend
Address - xx.xx.xx.xx their firewall IP
Comment - the name of customer

Doesn't take but a few minutes to make the phone ring.
 
daitea
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Sun May 03, 2009 3:17 pm

Re: How do i get a message to the clients web browser prompti...

Sat Jan 23, 2010 7:09 pm

i will try it and get back

Who is online

Users browsing this forum: No registered users and 22 guests