Community discussions

MikroTik App
 
TeleCPU
just joined
Topic Author
Posts: 3
Joined: Mon Oct 31, 2005 6:02 pm
Contact:

Redirect to webpage for selected customers

Tue Oct 23, 2007 4:09 pm

Hi

Do anyone have a good idea how to redirect all www (port 80) request from a selected customer to a fixed webpage.
Can be used as a "you have not paid yet" page, and at the same time internet not work for that customer.
I use simple queues for each customer.


Kim
 
Diganet
Member
Member
Posts: 342
Joined: Sun Oct 30, 2005 9:30 pm
Location: Denmark
Contact:

Re: Redirect to webpage for selected customers

Fri Oct 26, 2007 12:59 am

Hi

Do anyone have a good idea how to redirect all www (port 80) request from a selected customer to a fixed webpage.
Can be used as a "you have not paid yet" page, and at the same time internet not work for that customer.
I use simple queues for each customer.


Kim
Kim,

Just do a dest nat tcp port 80 to an address in another subnet based on an addresslist. and add a firewall rule that drops everything from the same addresslist except port 80 and TCP port 53. (Browser wil stop if it can't resolve and customer won't hit webserver)

/Henrik

Who is online

Users browsing this forum: No registered users and 24 guests